1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-30 21:25:47 +01:00

Cleanup main.jsm. Add (currently disabled) command cacheing.

This commit is contained in:
Kris Maglione
2011-10-06 06:39:41 -04:00
parent 0319712917
commit f65aaea14d
10 changed files with 238 additions and 129 deletions

View File

@@ -879,7 +879,6 @@ var DOM = Class("DOM", {
if (isect.height < Math.min(viewport.height, rect.height)) {
let { top } = parent.scrollPos();
util.dump(" " + top + " " + (viewport.top - rect.top) + " " + (viewport.bottom - rect.bottom));
if (getAlignment(viewport))
parent.scrollPos(null, top - (viewport.top - rect.top));
else