Remove replace call which does not replace anything
The original code replaced / by /. Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
parent
df6e9109c8
commit
a13c80062d
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function preview(setting, value, serverCssUrl) {
|
|||
var reloadStylesheets = function(cssFile) {
|
||||
var queryString = '?reload=' + new Date().getTime();
|
||||
var url = cssFile + queryString;
|
||||
var old = $('link[href*="' + cssFile.replace("/","\/") + '"]');
|
||||
var old = $('link[href*="' + cssFile + '"]');
|
||||
var stylesheet = $("<link/>", {
|
||||
rel: "stylesheet",
|
||||
type: "text/css",
|
||||
|
|
Loading…
Reference in a new issue