Show More
@@ -38,7 +38,7 b" document.addEventListener('DOMContentLoa" | |||||
38 | // element |
|
38 | // element | |
39 | var selectableElements = Array.prototype.filter.call( |
|
39 | var selectableElements = Array.prototype.filter.call( | |
40 | sourcelines.children, |
|
40 | sourcelines.children, | |
41 | function(x) { return x.tagName === selectableTag }); |
|
41 | function(x) { return x.tagName === selectableTag; }); | |
42 |
|
42 | |||
43 | var btnTitleStart = 'start following lines history from here'; |
|
43 | var btnTitleStart = 'start following lines history from here'; | |
44 | var btnTitleEnd = 'terminate line block selection here'; |
|
44 | var btnTitleEnd = 'terminate line block selection here'; | |
@@ -62,7 +62,7 b" document.addEventListener('DOMContentLoa" | |||||
62 | } |
|
62 | } | |
63 |
|
63 | |||
64 | // extend DOM with CSS class for selection highlight and action buttons |
|
64 | // extend DOM with CSS class for selection highlight and action buttons | |
65 | var followlinesButtons = [] |
|
65 | var followlinesButtons = []; | |
66 | for (var i = 0; i < selectableElements.length; i++) { |
|
66 | for (var i = 0; i < selectableElements.length; i++) { | |
67 | selectableElements[i].classList.add('followlines-select'); |
|
67 | selectableElements[i].classList.add('followlines-select'); | |
68 | var btn = createButton(); |
|
68 | var btn = createButton(); |
General Comments 0
You need to be logged in to leave comments.
Login now