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:
@@ -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