You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
315 B
JavaScript
11 lines
315 B
JavaScript
8 years ago
|
define([
|
||
|
'/api/config',
|
||
|
], function (Config) {
|
||
|
if (!(Config && Config.requireConf && Config.requireConf.urlArgs)) { return; }
|
||
|
|
||
|
document.querySelectorAll('link[rel="stylesheet"][data-rewrite-href]').forEach(function (e) {
|
||
|
e.setAttribute('href', e.getAttribute('data-rewrite-href'));
|
||
|
});
|
||
|
});
|
||
|
|