|
@@ -114,11 +114,12 @@
|
|
// console.log('frontOneHour', frontOneHour,hour, stamp);
|
|
// console.log('frontOneHour', frontOneHour,hour, stamp);
|
|
let t = stamp + hour*3600
|
|
let t = stamp + hour*3600
|
|
let interval = $("select[name=interval]").val()
|
|
let interval = $("select[name=interval]").val()
|
|
- $.get( window.location.origin + "/plot/index?time_stamp=" + t + "&interval=" + interval, function (data){
|
|
|
|
|
|
+ let s = window.location.origin + "/plot/index?time_stamp=" + t + "&interval=" + interval
|
|
|
|
+ $.get( s, function (data){
|
|
if (!data) {
|
|
if (!data) {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
- $('iframe').attr('src',src)
|
|
|
|
|
|
+ $('iframe').attr('src',s)
|
|
});
|
|
});
|
|
|
|
|
|
$('#timeSelect').change(function () {
|
|
$('#timeSelect').change(function () {
|