mirror of
https://github.com/transmission/transmission
synced 2024-12-23 08:13:27 +00:00
(trunk web) don't listen for drag-and-drop events in mobile mode
This commit is contained in:
parent
8277b5e0e8
commit
631f63435c
1 changed files with 3 additions and 3 deletions
|
@ -55,9 +55,6 @@ Transmission.prototype =
|
|||
$('#upload_cancel_button').click($.proxy(this.hideUploadDialog,this));
|
||||
$('#turtle-button').click($.proxy(this.toggleTurtleClicked,this));
|
||||
$('#compact-button').click($.proxy(this.toggleCompactClicked,this));
|
||||
$('#torrent_container').bind('dragover', $.proxy(this.dragenter,this));
|
||||
$('#torrent_container').bind('dragenter', $.proxy(this.dragenter,this));
|
||||
$('#torrent_container').bind('drop', $.proxy(this.drop,this));
|
||||
|
||||
// tell jQuery to copy the dataTransfer property from events over if it exists
|
||||
jQuery.event.props.push("dataTransfer");
|
||||
|
@ -75,6 +72,9 @@ Transmission.prototype =
|
|||
$(document).bind('keydown', $.proxy(this.keyDown,this) );
|
||||
$(document).bind('keyup', $.proxy(this.keyUp, this) );
|
||||
$('#torrent_container').click( $.proxy(this.deselectAll,this) );
|
||||
$('#torrent_container').bind('dragover', $.proxy(this.dragenter,this));
|
||||
$('#torrent_container').bind('dragenter', $.proxy(this.dragenter,this));
|
||||
$('#torrent_container').bind('drop', $.proxy(this.drop,this));
|
||||
$('#inspector_link').click( $.proxy(this.toggleInspector,this) );
|
||||
|
||||
this.setupSearchBox();
|
||||
|
|
Loading…
Reference in a new issue