Changeset 588 in tmcsimulator for branches/realtime_VDS/cptms/js/vdsLayer.js


Ignore:
Timestamp:
03/10/2020 10:13:15 AM (6 years ago)
Author:
jdalbey
Message:

fix fetch interval labelling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/realtime_VDS/cptms/js/vdsLayer.js

    r587 r588  
    168168    live.width = 50 ; 
    169169    live.height= 40 ; 
    170     notLive.src ="images/fetchError.jpg"; 
    171     notLive.width = 50 ; 
    172     notLive.height= 50 ; 
     170    notLive.src ="images/offline.jpg"; 
    173171    // if fetch is a success, display live img 
    174172    if (success) { 
     
    214212                msec -= ss * 1000; 
    215213                // display icon if less than 15  
    216                if (days === 0 && hh === 0 && mm < fetchInterval) 
     214               if (days === 0 && hh === 0 && mm < liveThreshold) 
    217215                    initLiveIcon(1) 
    218216                else  
Note: See TracChangeset for help on using the changeset viewer.