diff options
-rw-r--r-- | autoscroll.js | 4 | ||||
-rw-r--r-- | freebsd/Makefile | 2 | ||||
-rw-r--r-- | linux/Makefile | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/autoscroll.js b/autoscroll.js index b0adc69..bfe3bb9 100644 --- a/autoscroll.js +++ b/autoscroll.js @@ -108,11 +108,11 @@ MouseAutoScroll = (function() { } function mouseDown (e) { var t = e.target; - if (ev.button == 0) { + if (e.button == 0) { if (span) { clear(); } - } else if (ev.button == 1) { + } else if (e.button == 1) { if (span) { clear(); } diff --git a/freebsd/Makefile b/freebsd/Makefile index 5f4cc1f..7c56c03 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -15,7 +15,7 @@ CC?= cc all: ../javascript.h xxxterm -../javascript.h: ../js-merge-helper.pl ../hinting.js +../javascript.h: ../js-merge-helper.pl ../hinting.js ../autoscroll.js perl ../js-merge-helper.pl ../hinting.js ../input-focus.js \ ../autoscroll.js > ../javascript.h diff --git a/linux/Makefile b/linux/Makefile index d258507..986f95c 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -18,7 +18,7 @@ CC?= gcc all: javascript.h xxxterm -javascript.h: ../js-merge-helper.pl ../hinting.js +javascript.h: ../js-merge-helper.pl ../hinting.js ../autoscroll.js perl ../js-merge-helper.pl ../hinting.js ../input-focus.js \ ../autoscroll.js > javascript.h |