mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-04 11:24:10 +01:00
Fix typo.
This commit is contained in:
@@ -786,7 +786,7 @@ var Buffer = Module("Buffer", {
|
|||||||
* @param {boolean} offScreen If true, include only off-screen elements. @optional
|
* @param {boolean} offScreen If true, include only off-screen elements. @optional
|
||||||
*/
|
*/
|
||||||
findJump: function findJump(arg, count, reverse, offScreen) {
|
findJump: function findJump(arg, count, reverse, offScreen) {
|
||||||
let { options } = this.modules;
|
let { marks, options } = this.modules;
|
||||||
|
|
||||||
const FUDGE = 10;
|
const FUDGE = 10;
|
||||||
|
|
||||||
@@ -844,7 +844,6 @@ var Buffer = Module("Buffer", {
|
|||||||
let next = current + count;
|
let next = current + count;
|
||||||
if (next < 0 || next >= frames.length)
|
if (next < 0 || next >= frames.length)
|
||||||
util.dactyl.beep();
|
util.dactyl.beep();
|
||||||
dactyl.beep();
|
|
||||||
next = Math.constrain(next, 0, frames.length - 1);
|
next = Math.constrain(next, 0, frames.length - 1);
|
||||||
|
|
||||||
// focus next frame and scroll into view
|
// focus next frame and scroll into view
|
||||||
|
|||||||
Reference in New Issue
Block a user