diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-17 19:11:18 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-09-17 19:11:18 +0200 |
commit | 86c4c83b861febed135707cf3d87047a8a43a043 (patch) | |
tree | 3b02ede729e725bedd07ed4ad3324527f69c8dd4 /apps/files/js | |
parent | b59ce403d8ea80ba7aac5683f667853218757502 (diff) | |
download | nextcloud-server-86c4c83b861febed135707cf3d87047a8a43a043.tar.gz nextcloud-server-86c4c83b861febed135707cf3d87047a8a43a043.zip |
use exists
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/file-upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js index 28270f13938..9d22162f06d 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -373,7 +373,7 @@ $(document).ready(function() { } }; - if ( document.getElementById('data-upload-form') ) { + if ( $('#file_upload_start').exists() ) { // initialize jquery fileupload (blueimp) var fileupload = $('#file_upload_start').fileupload(file_upload_param); window.file_upload_param = fileupload; |