提交 77abb329 编写于 作者: R Rob Lourens

Fix search widget error

上级 ef159be3
......@@ -246,7 +246,8 @@ export class SearchWidget extends Widget {
};
this.toggleReplaceButton = this._register(new Button(parent, opts));
this.toggleReplaceButton.element.setAttribute('aria-expanded', 'false');
this.toggleReplaceButton.icon = 'toggle-replace-button collapse';
this.toggleReplaceButton.element.classList.add('collapse');
this.toggleReplaceButton.icon = 'toggle-replace-button';
// TODO@joh need to dispose this listener eventually
this.toggleReplaceButton.onDidClick(() => this.onToggleReplaceButton());
this.toggleReplaceButton.element.title = nls.localize('search.replace.toggle.button.title', "Toggle Replace");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册