提交 ab280853 编写于 作者: C Clement Ho

Remove unnecessary dismissCurrentDropdown

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册