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