summaryrefslogtreecommitdiffstats
path: root/apps/theming/js
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-02-26 14:17:20 +0100
committerJulius Härtl <jus@bitgrid.net>2018-04-19 20:14:39 +0200
commit3ad2768909f99ca37cc2fb617ea623dd5bc773f4 (patch)
tree28895cc084215fcaac5d47c45f9d928664bb2576 /apps/theming/js
parentd8045966dee59d190b976dca93fddec0e77e7fd7 (diff)
downloadnextcloud-server-3ad2768909f99ca37cc2fb617ea623dd5bc773f4.tar.gz
nextcloud-server-3ad2768909f99ca37cc2fb617ea623dd5bc773f4.zip
Remove unneeded preview image handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/theming/js')
-rw-r--r--apps/theming/js/settings-admin.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/apps/theming/js/settings-admin.js b/apps/theming/js/settings-admin.js
index dde7cf1bdc5..25ac092a964 100644
--- a/apps/theming/js/settings-admin.js
+++ b/apps/theming/js/settings-admin.js
@@ -222,9 +222,6 @@ $(document).ready(function () {
var input = document.getElementById('theming-'+setting);
input.value = response.data.value;
}
- if (image) {
- $form.find('.image-preview').css('background-image','none');
- }
preview(setting, response.data.value, response.data.serverCssUrl);
});
});