mirror of
https://github.com/nextcloud/server.git
synced 2026-04-27 01:00:20 -04:00
use distance option to delay dragging in sane browsers
This commit is contained in:
parent
0f763f4508
commit
664e7a3fc2
1 changed files with 4 additions and 0 deletions
|
|
@ -863,6 +863,10 @@ var dragOptions={
|
|||
$('#fileList tr td.filename').addClass('ui-draggable');
|
||||
}
|
||||
}
|
||||
// sane browsers support using the distance option
|
||||
if ( ! $.browser.msie) {
|
||||
dragOptions['distance'] = 20;
|
||||
}
|
||||
|
||||
var folderDropOptions={
|
||||
drop: function( event, ui ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue