remove more dead code

This commit is contained in:
ansuz 2017-04-12 16:13:25 +02:00
parent 401936a91e
commit 85fcaa9bbc
2 changed files with 0 additions and 1016 deletions

File diff suppressed because it is too large Load diff

View file

@ -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);
});
});