BigW Consortium Gitlab

Commit ab280853 by Clement Ho

Remove unnecessary dismissCurrentDropdown

parent bcae21b1
......@@ -154,7 +154,6 @@
const dropdownOffset = gl.text.getTextWidth(filteredSearch.value) + filterIconPadding;
this.dismissCurrentDropdown();
this.currentDropdown = 'hint';
if (!dropdownHint) {
......@@ -165,12 +164,6 @@
}
}
dismissCurrentDropdown() {
if (this.currentDropdown === 'hint') {
dropdownHint.destroy();
}
}
setDropdown() {
const { lastToken } = this.tokenizer.processTokens(document.querySelector('.filtered-search').value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment