diff options
author | Stefan Weil <sw@weilnetz.de> | 2018-10-17 18:27:09 +0200 |
---|---|---|
committer | Stefan Weil <sw@weilnetz.de> | 2018-10-24 14:53:52 +0200 |
commit | a13c80062d96cbb141d50b7d7f17cb73a792c3f7 (patch) | |
tree | 35bd228239d9cfd1cd9f31b0a93f696b8d78f8a0 /apps/theming/js | |
parent | df6e9109c8d2f4d461073a0e6f69d6fd7b67d0e3 (diff) | |
download | nextcloud-server-a13c80062d96cbb141d50b7d7f17cb73a792c3f7.tar.gz nextcloud-server-a13c80062d96cbb141d50b7d7f17cb73a792c3f7.zip |
Remove replace call which does not replace anything
The original code replaced / by /.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'apps/theming/js')
-rw-r--r-- | apps/theming/js/settings-admin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js index 28f7645eae7..af9c584265c 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 = $("<link/>", { rel: "stylesheet", type: "text/css", |