We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1004275 commit 7677433Copy full SHA for 7677433
addon/hint/show-hint.js
@@ -333,7 +333,7 @@
333
i = avoidWrap ? 0 : this.data.list.length - 1;
334
if (this.selectedHint == i) return;
335
var node = this.hints.childNodes[this.selectedHint];
336
- node.className = node.className.replace(" " + ACTIVE_HINT_ELEMENT_CLASS, "");
+ if (node) node.className = node.className.replace(" " + ACTIVE_HINT_ELEMENT_CLASS, "");
337
node = this.hints.childNodes[this.selectedHint = i];
338
node.className += " " + ACTIVE_HINT_ELEMENT_CLASS;
339
if (node.offsetTop < this.hints.scrollTop)
0 commit comments