about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStevan Andjelkovic <stevan.andjelkovic@strath.ac.uk>2012-01-04 15:46:45 +0100
committerStevan Andjelkovic <stevan.andjelkovic@strath.ac.uk>2012-01-04 15:46:45 +0100
commit6266ed650490e2637b801a4b3a7d50512a7cd0a1 (patch)
treeed04d780927e762d60b4914d76ac74346591d5c4
parentffab3a943128a20b826f7d635612344c3e957b90 (diff)
downloadxombrero-6266ed650490e2637b801a4b3a7d50512a7cd0a1.tar.gz
Fix typo in autoscroll javascript.
Pointed out by Stefan Bolte <portix at gmx dot net>
-rw-r--r--autoscroll.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/autoscroll.js b/autoscroll.js
index 126b2e8..b0adc69 100644
--- a/autoscroll.js
+++ b/autoscroll.js
@@ -109,7 +109,7 @@ MouseAutoScroll = (function() {
   function mouseDown (e) {
     var t = e.target;
     if (ev.button == 0) {
-      if (_span) {
+      if (span) {
         clear();
       }
     } else if (ev.button == 1) {