remove more dead code
This commit is contained in:
parent
401936a91e
commit
85fcaa9bbc
2 changed files with 0 additions and 1016 deletions
1004
www/common/otaml.js
1004
www/common/otaml.js
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 a new issue