mercurial/templates/static/linerangelog.js
changeset 31787 02eb52e9d413
parent 31786 70377de005a0
--- a/mercurial/templates/static/linerangelog.js	Mon Apr 03 09:40:25 2017 +0200
+++ b/mercurial/templates/static/linerangelog.js	Mon Apr 03 09:58:36 2017 +0200
@@ -22,6 +22,11 @@
         sourcelines.children,
         function(x) { return x.tagName === 'SPAN' });
 
+    // add a "followlines-select" class to change cursor type in CSS
+    for (var i = 0; i < spans.length; i++) {
+        spans[i].classList.add('followlines-select');
+    }
+
     var lineSelectedCSSClass = 'followlines-selected';
 
     //** add CSS class on <span> element in `from`-`to` line range */