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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user