Show More
@@ -22,6 +22,11 b" document.addEventListener('DOMContentLoa" | |||
|
22 | 22 | sourcelines.children, |
|
23 | 23 | function(x) { return x.tagName === 'SPAN' }); |
|
24 | 24 | |
|
25 | // add a "followlines-select" class to change cursor type in CSS | |
|
26 | for (var i = 0; i < spans.length; i++) { | |
|
27 | spans[i].classList.add('followlines-select'); | |
|
28 | } | |
|
29 | ||
|
25 | 30 | var lineSelectedCSSClass = 'followlines-selected'; |
|
26 | 31 | |
|
27 | 32 | //** add CSS class on <span> element in `from`-`to` line range */ |
General Comments 0
You need to be logged in to leave comments.
Login now