Changeset 6648


Ignore:
Timestamp:
Aug 26, 2008, 8:18:50 PM (13 years ago)
Author:
charles
Message:

(clutch) #1232: useless slash of inspector's Web UI "Tracker" field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web/javascript/transmission.js

    r6581 r6648  
    838838                var total_state = null;
    839839                var total_swarm_speed = 0;
    840                 var total_tracker = '';
     840                var total_tracker = null;
    841841                var total_upload = 0;
    842842                var total_upload_peers = 0;
     
    881881                                total_state += '/' + t.stateStr();
    882882                        var tracker = t._tracker;
    883                         if ( total_tracker.search ( tracker ) == -1 ) 
     883                        if( total_tracker == null )
     884                                total_tracker = tracker;
     885                        else if ( total_tracker.search ( tracker ) == -1 ) 
    884886                                total_tracker += '/' + tracker;
    885887                        if( t._is_private )
Note: See TracChangeset for help on using the changeset viewer.