diff options
author | Olivier Paroz <oparoz@users.noreply.github.com> | 2015-05-29 17:49:26 +0200 |
---|---|---|
committer | Olivier Paroz <oparoz@users.noreply.github.com> | 2015-05-29 17:49:26 +0200 |
commit | 6aeaa6954b5b753a04c678109f1df614a32b6fda (patch) | |
tree | 0547c050ca739038e56343814de19e0bbf5f24b0 /core | |
parent | 4e364311f1a07e2359eff2a4412ac90140059076 (diff) | |
download | nextcloud-server-6aeaa6954b5b753a04c678109f1df614a32b6fda.tar.gz nextcloud-server-6aeaa6954b5b753a04c678109f1df614a32b6fda.zip |
Fix for parenthesis
Diffstat (limited to 'core')
-rw-r--r-- | core/js/oc-dialogs.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/oc-dialogs.js b/core/js/oc-dialogs.js index b1ad72d9206..8ebce841bea 100644 --- a/core/js/oc-dialogs.js +++ b/core/js/oc-dialogs.js @@ -389,7 +389,7 @@ var OCdialogs = { forceIcon: 0 }; var previewpath = OC.generateUrl('/core/preview.png?') + $.param(urlSpec); - $originalDiv.find('.icon').css('background-image','url('+previewpath+')'); + $originalDiv.find('.icon').css({"background-image": "url('" + previewpath + "')"}); getCroppedPreview(replacement).then( function(path){ $replacementDiv.find('.icon').css('background-image','url(' + path + ')'); |