1
0
Fork 0
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:
Jordan Lee 2011-05-12 20:32:01 +00:00
parent 72d9d74517
commit c1427b6d18

View file

@ -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] );
}
},