Changeset 588 in tmcsimulator for branches/realtime_VDS/cptms/js/vdsLayer.js
- Timestamp:
- 03/10/2020 10:13:15 AM (6 years ago)
- File:
-
- 1 edited
-
branches/realtime_VDS/cptms/js/vdsLayer.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/realtime_VDS/cptms/js/vdsLayer.js
r587 r588 168 168 live.width = 50 ; 169 169 live.height= 40 ; 170 notLive.src ="images/fetchError.jpg"; 171 notLive.width = 50 ; 172 notLive.height= 50 ; 170 notLive.src ="images/offline.jpg"; 173 171 // if fetch is a success, display live img 174 172 if (success) { … … 214 212 msec -= ss * 1000; 215 213 // display icon if less than 15 216 if (days === 0 && hh === 0 && mm < fetchInterval)214 if (days === 0 && hh === 0 && mm < liveThreshold) 217 215 initLiveIcon(1) 218 216 else
Note: See TracChangeset
for help on using the changeset viewer.
