Merge pull request #11889 from stweil/lgtm
Remove replace call which does not replace anything
This commit is contained in:
commit
88904200e0
|
@ -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 New Issue