mirror of
https://github.com/discourse/discourse.git
synced 2025-03-21 13:55:35 +08:00
DEV: Adds missing defer attribute to wizard js in dev layout (#17146)
Small followup to #17063 The wizard `js` file slipped through the cracks. This only affected dev installs.
This commit is contained in:
parent
b2bf1db36f
commit
9d86a2b567
@ -73,7 +73,7 @@ function head(buffer, bootstrap, headers, baseURL) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (admin) {
|
if (admin) {
|
||||||
buffer.push(`<script src="${baseURL}assets/wizard.js"></script>`);
|
buffer.push(`<script defer src="${baseURL}assets/wizard.js"></script>`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user