diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js index 28f7645eae..af9c584265 100644 --- a/apps/theming/js/settings-admin.js +++ b/apps/theming/js/settings-admin.js @@ -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 = $("", { rel: "stylesheet", type: "text/css",