mirror of
https://github.com/transmission/transmission.git
synced 2026-04-20 08:49:22 +01: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:
@@ -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( );
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user