mirror of
https://github.com/transmission/transmission
synced 2024-12-24 00:34:04 +00:00
(trunk web) use public jQuery functions. private ones can change or be removed at any time (like in 1.4)
This commit is contained in:
parent
bf08de36d9
commit
d9c7ed8baa
1 changed files with 2 additions and 3 deletions
|
@ -437,11 +437,10 @@ Transmission.prototype =
|
|||
},
|
||||
|
||||
selectElement: function( e, doUpdate ) {
|
||||
$.className.add( e[0], 'selected' );
|
||||
e.addClass('selected');
|
||||
this.scrollToElement( e );
|
||||
if( doUpdate )
|
||||
this.selectionChanged( );
|
||||
$.className.add( e[0], 'selected' );
|
||||
},
|
||||
selectRow: function( rowIndex, doUpdate ) {
|
||||
this.selectElement( this._rows[rowIndex], doUpdate );
|
||||
|
@ -452,7 +451,7 @@ Transmission.prototype =
|
|||
},
|
||||
|
||||
deselectElement: function( e, doUpdate ) {
|
||||
$.className.remove( e[0], 'selected' );
|
||||
e.removeClass('selected');
|
||||
if( doUpdate )
|
||||
this.selectionChanged( );
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue