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