Remove calls to DOM.addClass and DOM.removeClass (#13063)

This commit is contained in:
Charles Gagnon
2020-10-23 14:42:22 -07:00
committed by GitHub
parent c7ab69d46d
commit 2d182fcd03
24 changed files with 89 additions and 93 deletions

View File

@@ -134,7 +134,7 @@ export class QueryEditor extends EditorPane {
* Called to create the editor in the parent element.
*/
public createEditor(parent: HTMLElement): void {
DOM.addClass(parent, 'query-editor');
parent.classList.add('query-editor');
this.splitviewContainer = DOM.$('.query-editor-view');