@ -112,11 +112,10 @@ window.addEvent('load', function(){
. replace ( "%2" , friendlyUnit ( info . dl _info _data , false ) ) ) ;
. replace ( "%2" , friendlyUnit ( info . dl _info _data , false ) ) ) ;
$ ( "UpInfos" ) . set ( 'html' , "_(U: %1 - T: %2)" . replace ( "%1" , friendlyUnit ( info . up _info _speed , true ) )
$ ( "UpInfos" ) . set ( 'html' , "_(U: %1 - T: %2)" . replace ( "%1" , friendlyUnit ( info . up _info _speed , true ) )
. replace ( "%2" , friendlyUnit ( info . up _info _data , false ) ) ) ;
. replace ( "%2" , friendlyUnit ( info . up _info _data , false ) ) ) ;
if ( info . show _speed _in _title ) {
if ( Cookie . read ( 'speed_in_browser_title_bar' ) == 'true' )
document . title = "_(D:%1 U:%2)" . replace ( "%1" , friendlyUnit ( info . dl _info _speed , true ) ) . replace ( "%2" , friendlyUnit ( info . up _info _speed , true ) ) ;
document . title = "_(D:%1 U:%2)" . replace ( "%1" , friendlyUnit ( info . dl _info _speed , true ) ) . replace ( "%2" , friendlyUnit ( info . up _info _speed , true ) ) ;
} else {
else
document . title = "_(qBittorrent web User Interface)" ;
document . title = "_(qBittorrent web User Interface)" ;
}
waitingTrInfo = false ;
waitingTrInfo = false ;
loadTransferInfo . delay ( 3000 ) ;
loadTransferInfo . delay ( 3000 ) ;
}
}
@ -253,7 +252,7 @@ window.addEvent('load', function(){
$ ( "all_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "all_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "downloading_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "downloading_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "completed_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "completed_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "paused_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "paused_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "active_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "active_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "inactive_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( "inactive_filter" ) . removeClass ( "selectedFilter" ) ;
$ ( f + "_filter" ) . addClass ( "selectedFilter" ) ;
$ ( f + "_filter" ) . addClass ( "selectedFilter" ) ;