mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-10-17 00:42:32 +02:00
Fix typo that breaks scrolling.
This commit is contained in:
1 parent
0a22a2d089
commit
befacae422
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user