Remove dependency on jquery-migrate.js for browser detection
* ref #4628 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
parent
dba55f950a
commit
242934c016
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