mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-10 09:35:46 +01:00
Fix typo that breaks scrolling.
This commit is contained in:
@@ -1471,7 +1471,7 @@ var Buffer = Module("Buffer", {
|
|||||||
return elem[pos] > 0;
|
return elem[pos] > 0;
|
||||||
|
|
||||||
let max = pos + "Max";
|
let max = pos + "Max";
|
||||||
if (max in elem && pos > 0)
|
if (max in elem && dir > 0)
|
||||||
return elem[pos] < elem[max];
|
return elem[pos] < elem[max];
|
||||||
|
|
||||||
let style = DOM(elem).style;
|
let style = DOM(elem).style;
|
||||||
|
|||||||
Reference in New Issue
Block a user