mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #7013, add cache buster to js-enabled.css
This commit is contained in:
@@ -698,7 +698,7 @@ app.cacheBuster = null;
|
|||||||
app.loadProgressiveStylesheet = function () {
|
app.loadProgressiveStylesheet = function () {
|
||||||
var linkEl = document.createElement('link');
|
var linkEl = document.createElement('link');
|
||||||
linkEl.rel = 'stylesheet';
|
linkEl.rel = 'stylesheet';
|
||||||
linkEl.href = config.relative_path + '/assets/js-enabled.css';
|
linkEl.href = config.relative_path + '/assets/js-enabled.css?' + app.cacheBuster;
|
||||||
|
|
||||||
document.head.appendChild(linkEl);
|
document.head.appendChild(linkEl);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user