mirror of
https://github.com/transmission/transmission
synced 2025-02-20 13:16:53 +00:00
(trunk web) #3820 "Web UI flicking to selection" -- apply a patch from buljit to fix a keyboard navigation regression reported by Tenzer in comment:8
This commit is contained in:
parent
72d9d74517
commit
c1427b6d18
1 changed files with 1 additions and 3 deletions
|
@ -470,9 +470,6 @@ Transmission.prototype =
|
|||
|
||||
selectElement: function( e, doUpdate ) {
|
||||
e.addClass('selected');
|
||||
// commented out as an experiment --
|
||||
// see https://trac.transmissionbt.com/ticket/3820#comment:3
|
||||
// this.scrollToElement( e );
|
||||
if( doUpdate )
|
||||
this.selectionChanged( );
|
||||
},
|
||||
|
@ -575,6 +572,7 @@ Transmission.prototype =
|
|||
if( 0<=i && i<rows.length ) {
|
||||
tr.deselectAll( );
|
||||
tr.selectRow( i, true );
|
||||
tr.scrollToElement( tr._rows[i] );
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue