Changeset 13181


Ignore:
Timestamp:
Jan 24, 2012, 9:01:06 PM (10 years ago)
Author:
jordan
Message:

(trunk web) don't listen for drag-and-drop events in mobile mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r13180 r13181  
    5656                $('#turtle-button').click($.proxy(this.toggleTurtleClicked,this));
    5757                $('#compact-button').click($.proxy(this.toggleCompactClicked,this));
    58                 $('#torrent_container').bind('dragover', $.proxy(this.dragenter,this));
    59                 $('#torrent_container').bind('dragenter', $.proxy(this.dragenter,this));
    60                 $('#torrent_container').bind('drop', $.proxy(this.drop,this));
    6158
    6259                // tell jQuery to copy the dataTransfer property from events over if it exists
     
    7673                        $(document).bind('keyup', $.proxy(this.keyUp, this) );
    7774                        $('#torrent_container').click( $.proxy(this.deselectAll,this) );
     75                        $('#torrent_container').bind('dragover', $.proxy(this.dragenter,this));
     76                        $('#torrent_container').bind('dragenter', $.proxy(this.dragenter,this));
     77                        $('#torrent_container').bind('drop', $.proxy(this.drop,this));
    7878                        $('#inspector_link').click( $.proxy(this.toggleInspector,this) );
    7979
Note: See TracChangeset for help on using the changeset viewer.