Changeset 715525
- Timestamp:
- 05/20/2013 09:59:51 AM (13 years ago)
- File:
-
- 1 edited
-
wp-livephp/trunk/wp-live.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-livephp/trunk/wp-live.js
r705501 r715525 89 89 if (xhr.readyState == 4) { 90 90 var restart = new Date() * 1; 91 if (xhr. status == 200) {91 if (xhr.responseText != '' && xhr.status == 200) { 92 92 var re = JSON.parse(xhr.responseText); 93 93 … … 113 113 LivePhp.start = restart; 114 114 setTimeout(LivePhp.heartbeat, LivePhp.interval); 115 } 115 } 116 116 } 117 117 xhr.open("GET", LivePhp.url + '?s=' + start, true);
Note: See TracChangeset
for help on using the changeset viewer.