mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-21 08:07:58 +01:00
Prepare for merge with testing branch.
This commit is contained in:
@@ -65,7 +65,7 @@ const History = Module("history", {
|
||||
if (current == start && steps < 0 || current == end && steps > 0)
|
||||
dactyl.beep();
|
||||
else {
|
||||
let index = util.Math.constrain(current + steps, start, end);
|
||||
let index = Math.constrain(current + steps, start, end);
|
||||
window.getWebNavigation().gotoIndex(index);
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user