summaryrefslogtreecommitdiff
path: root/js/error.highlight.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/error.highlight.js')
-rw-r--r--js/error.highlight.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/error.highlight.js b/js/error.highlight.js
index 0b478e2..f46d0ec 100644
--- a/js/error.highlight.js
+++ b/js/error.highlight.js
@@ -136,7 +136,7 @@ var init = function(){
create_el_highlight()
create_el_textmeasure()
scrollbar_width = calc_scrollbar_width()
- textarea.addEventListener('scroll', reposition_highlight)
+ dom.textarea.addEventListener('scroll', reposition_highlight)
}
// exports