Try removing conditional from bootstrap
Dieser Commit ist enthalten in:
Ursprung
3c0d256e4e
Commit
cebc63b6d8
1 geänderte Dateien mit 18 neuen und 20 gelöschten Zeilen
|
@ -1,8 +1,7 @@
|
||||||
// discourse-skip-module
|
// discourse-skip-module
|
||||||
/*global document, Logster */
|
/*global document, Logster */
|
||||||
|
|
||||||
if (window.location.pathname.indexOf("/w/") > -1 && Ember.testing) {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
|
||||||
document.body.insertAdjacentHTML(
|
document.body.insertAdjacentHTML(
|
||||||
"afterbegin",
|
"afterbegin",
|
||||||
`
|
`
|
||||||
|
@ -10,17 +9,16 @@ if (window.location.pathname.indexOf("/w/") > -1 && Ember.testing) {
|
||||||
<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 9999; border: 1px solid #ccc; } #ember-testing { zoom: 50%; }</style>
|
<style>#ember-testing-container { position: absolute; background: white; bottom: 0; right: 0; width: 640px; height: 384px; overflow: auto; z-index: 9999; border: 1px solid #ccc; } #ember-testing { zoom: 50%; }</style>
|
||||||
`
|
`
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
Object.keys(requirejs.entries).forEach(function (entry) {
|
Object.keys(requirejs.entries).forEach(function (entry) {
|
||||||
if (/\-test/.test(entry)) {
|
if (/\-test/.test(entry)) {
|
||||||
requirejs(entry);
|
requirejs(entry);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
if (window.Logster) {
|
if (window.Logster) {
|
||||||
Logster.enabled = false;
|
Logster.enabled = false;
|
||||||
} else {
|
} else {
|
||||||
window.Logster = { enabled: false };
|
window.Logster = { enabled: false };
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Laden …
In neuem Issue referenzieren