1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-11 05:45:46 +01:00

Fix visual bell completion list sizing thing.

This commit is contained in:
Kris Maglione
2011-10-26 01:10:12 -04:00
parent efb39f26a8
commit e50726ae01
2 changed files with 8 additions and 3 deletions

View File

@@ -376,8 +376,8 @@ var DOM = Class("DOM", {
* @returns {boolean}
*/
get isVisible() {
let style = this.style;
return style.visibility == "visible" && style.display != "none";
let style = this[0] && this.style;
return style && style.visibility == "visible" && style.display != "none";
},
get editor() {