summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-24 23:55:55 +0200
committerGitHub <noreply@github.com>2018-10-24 23:55:55 +0200
commit88904200e083fc2677d890c8ec4d2c1c9527acf6 (patch)
tree0ccc618c23e114feb64d5cdbaf9e6f2588c6ed7d /apps
parentefee3b149dd295acd47aae6e6af6322658ab0184 (diff)
parenta13c80062d96cbb141d50b7d7f17cb73a792c3f7 (diff)
downloadnextcloud-server-88904200e083fc2677d890c8ec4d2c1c9527acf6.tar.gz
nextcloud-server-88904200e083fc2677d890c8ec4d2c1c9527acf6.zip
Merge pull request #11889 from stweil/lgtm
Remove replace call which does not replace anything
Diffstat (limited to 'apps')
-rw-r--r--apps/theming/js/settings-admin.js2
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",