1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-29 03:32:27 +01:00

Fix sanitizer.

--HG--
branch : testing
This commit is contained in:
Kris Maglione
2010-05-14 14:37:56 -04:00
parent 847dc6428d
commit 34574f43bb
4 changed files with 17 additions and 2 deletions

View File

@@ -1490,8 +1490,8 @@ const Buffer = Module("buffer", {
liberator.assert(elements.length > 0);
let elem = elements[util.Math.constrain(count, 1, elements.length) - 1];
elem.scrollIntoView();
buffer.focusElement(elem);
util.scrollIntoView(elem);
}
},
{ count: true });