fucking lack of es6

This commit is contained in:
Zack Rauen 2017-11-01 01:43:07 -04:00
parent 64e04eb93e
commit a12773e4fd
1 changed files with 2 additions and 3 deletions

View File

@ -237,7 +237,7 @@ Core.prototype.init = function () {
console.log(new Date().getTime() + " Defer");
if (document.querySelectorAll('.guilds .guild').length > 0) {
console.log(new Date().getTime() + " Defer Loaded");
self.injectExternals();
// customCssEditor = new CustomCssEditor();
pluginModule = new PluginModule();
pluginModule.loadPlugins();
@ -246,7 +246,6 @@ Core.prototype.init = function () {
themeModule.loadThemes();
}
this.injectExternals();
settingsPanel = new V2_SettingsPanel();
settingsPanel.updateSettings();
@ -270,7 +269,7 @@ Core.prototype.init = function () {
$("head").append("<style>.CodeMirror{ min-width:100%; }</style>");
$("head").append('<style id="bdemotemenustyle"></style>');
document.getElementsByClassName("bd-loaderv2")[0].remove();
this.initObserver();
self.initObserver();
} else {
setTimeout(gwDefer, 100);
}