diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-05-01 17:52:53 -0300 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-05-01 17:53:48 -0300 |
commit | 242934c01684c7f4a2e6f526ba672466b0afc506 (patch) | |
tree | 2a67624a1e74b564a419b7fa8ee26bceaba7b2a2 /apps/files | |
parent | dba55f950a21802052698baa63713c2693078aa7 (diff) | |
download | nextcloud-server-242934c01684c7f4a2e6f526ba672466b0afc506.tar.gz nextcloud-server-242934c01684c7f4a2e6f526ba672466b0afc506.zip |
Remove dependency on jquery-migrate.js for browser detection
* ref #4628
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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'); |