remove more dead code
parent
401936a91e
commit
85fcaa9bbc
File diff suppressed because it is too large
Load Diff
@ -1,12 +0,0 @@
|
||||
define([
|
||||
'/api/config',
|
||||
], function (Config) {
|
||||
var urlArgs = Config && Config.requireConf && Config.requireConf.urlArgs;
|
||||
if (!urlArgs) { return; }
|
||||
document.querySelectorAll('link[rel="stylesheet"][data-rewrite-href]').forEach(function (e) {
|
||||
var href = e.getAttribute('data-rewrite-href');
|
||||
href += (/\?/.test(href)?'&':'?') + urlArgs;
|
||||
e.setAttribute('href', href);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue