start observer after bd loads

This commit is contained in:
Zack Rauen 2017-11-01 01:39:40 -04:00
parent e77c0cac0f
commit 64e04eb93e
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,6 @@ Core.prototype.init = function () {
emoteModule.init(); emoteModule.init();
this.initSettings(); this.initSettings();
this.initObserver();
//Incase were too fast //Incase were too fast
function gwDefer() { function gwDefer() {
@ -271,6 +270,7 @@ Core.prototype.init = function () {
$("head").append("<style>.CodeMirror{ min-width:100%; }</style>"); $("head").append("<style>.CodeMirror{ min-width:100%; }</style>");
$("head").append('<style id="bdemotemenustyle"></style>'); $("head").append('<style id="bdemotemenustyle"></style>');
document.getElementsByClassName("bd-loaderv2")[0].remove(); document.getElementsByClassName("bd-loaderv2")[0].remove();
this.initObserver();
} else { } else {
setTimeout(gwDefer, 100); setTimeout(gwDefer, 100);
} }