summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--awesomplete.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/awesomplete.js b/awesomplete.js
index 6a40cc5..2be360d 100644
--- a/awesomplete.js
+++ b/awesomplete.js
@@ -141,7 +141,7 @@ _.prototype = {
},
get opened() {
- return this.ul && this.ul.getAttribute("hidden") == null;
+ return !this.ul.hasAttribute("hidden");
},
close: function () {