1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 05:57:59 +01:00

Better DOM#is(). Yay.

This commit is contained in:
Kris Maglione
2011-10-16 15:06:37 -04:00
parent 0c3bccb5c6
commit 3ef14e8c3c
2 changed files with 2 additions and 19 deletions

View File

@@ -2255,7 +2255,7 @@ var ItemList = Class("ItemList", {
let win = this.win;
let row = this.selectedRow;
if (row) {
if (row && this.parent.minHeight) {
let { rect } = DOM(this.selectedRow);
var scrollY = this.win.scrollY + rect.bottom - this.win.innerHeight;
}