diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-05-02 17:01:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-02 17:01:27 +0200 |
commit | 68a1902586ab52bfddee94dd6adb276ff2df34a2 (patch) | |
tree | d8dec0434b119a2ce40221c608ca09887d636eaf /apps/files | |
parent | db337b4285f8a614b8ae87ddceee6c72682014b0 (diff) | |
parent | 242934c01684c7f4a2e6f526ba672466b0afc506 (diff) | |
download | nextcloud-server-68a1902586ab52bfddee94dd6adb276ff2df34a2.tar.gz nextcloud-server-68a1902586ab52bfddee94dd6adb276ff2df34a2.zip |
Merge pull request #4636 from nextcloud/jquery-migrate-browser
Remove dependency on jquery-migrate.js for browser detection
Diffstat (limited to 'apps/files')
-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 75d9d0ebdfc..1c5758ca50b 100644 --- a/apps/files/js/file-upload.js +++ b/apps/files/js/file-upload.js @@ -1060,7 +1060,7 @@ OC.Uploader.prototype = _.extend({ // dropping a folder in firefox doesn't cause a drop event // this is simulated by simply invoke disabling all classes // once no dragover event isn't noticed anymore - if ($.browser['mozilla']) { + if (/Firefox/i.test(navigator.userAgent)) { disableClassOnFirefox(); } $('#emptycontent .icon-folder').addClass('icon-filetype-folder-drag-accept'); |