start observer after bd loads
This commit is contained in:
parent
e77c0cac0f
commit
64e04eb93e
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue