Merge pull request #4636 from nextcloud/jquery-migrate-browser
Remove dependency on jquery-migrate.js for browser detection
This commit is contained in:
commit
68a1902586
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue