1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-03 18:34:12 +01:00

Fix typo that breaks scrolling.

This commit is contained in:
Kris Maglione
2013-05-21 14:15:21 -07:00
parent 0a22a2d089
commit befacae422

View File

@@ -1471,7 +1471,7 @@ var Buffer = Module("Buffer", {
return elem[pos] > 0;
let max = pos + "Max";
if (max in elem && pos > 0)
if (max in elem && dir > 0)
return elem[pos] < elem[max];
let style = DOM(elem).style;