1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-26 10:42:27 +01:00

Fix 'jumptags' jumping

Fixes #180.
This commit is contained in:
Doug Kearns
2016-09-07 11:14:42 +10:00
parent 0c1e9b470b
commit 31a6ba0bcb

View File

@@ -1111,7 +1111,7 @@ var Buffer = Module("Buffer", {
: rect => rect.top;
let elems = Array.from(path.matcher(this.focusedFrame.document),
elem => [e, distance(e.getBoundingClientRect())])
elem => [elem, distance(elem.getBoundingClientRect())])
.filter(([elem, dist]) => dist > FUDGE)
.sort((a, b) => a[1] - b[1]);