DEV: Remove JQuery from app.js (#15449)
This commit is contained in:
parent
a82e0db5ba
commit
6c5522db77
|
@ -52,7 +52,7 @@ const Discourse = Application.extend({
|
||||||
|
|
||||||
// Start up the Discourse application by running all the initializers we've defined.
|
// Start up the Discourse application by running all the initializers we've defined.
|
||||||
start() {
|
start() {
|
||||||
$("noscript").remove();
|
document.querySelector("noscript")?.remove();
|
||||||
|
|
||||||
Object.keys(requirejs._eak_seen).forEach((key) => {
|
Object.keys(requirejs._eak_seen).forEach((key) => {
|
||||||
if (/\/pre\-initializers\//.test(key)) {
|
if (/\/pre\-initializers\//.test(key)) {
|
||||||
|
|
Loading…
Reference in New Issue