mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Merge pull request #31 from akalipetis/hotfix/ie
Fixed IE issues with classList.add
This commit is contained in:
+3
-1
@@ -532,7 +532,9 @@
|
||||
* Create main element container
|
||||
*/
|
||||
this.element = this.document.createElement('div');
|
||||
this.element.classList.add('terminal', 'xterm', 'xterm-theme-' + this.theme);
|
||||
this.element.classList.add('terminal');
|
||||
this.element.classList.add('xterm');
|
||||
this.element.classList.add('xterm-theme-' + this.theme);
|
||||
this.element.setAttribute('tabindex', 0);
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user