File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 6
6
< meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7
7
< title > ESP3D WebUI</ title >
8
8
< script > var target_firmware = "" ; </ script >
9
- < script > var web_ui_version = "0.9.81LE " ; </ script >
9
+ < script > var web_ui_version = "0.9.82LE " ; </ script >
10
10
< script > var direct_sd = false ; </ script >
11
11
< script > var fw_version = "" ; </ script >
12
12
< script > var primary_sd = "/ext/" ; </ script >
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ function on_autocheck_position(){
56
56
store_localdata ( 'autocheck_position' , true ) ;
57
57
var interval = parseInt ( document . getElementById ( 'posInterval_check' ) . value ) ;
58
58
if ( ! isNaN ( interval ) && interval > 0 && interval < 100 ) {
59
+ if ( interval_position != - 1 ) clearInterval ( interval_position ) ;
59
60
interval_position = setInterval ( function ( ) { get_Position ( ) } , interval * 1000 ) ;
60
61
}
61
62
else {
@@ -76,8 +77,7 @@ function on_autocheck_position(){
76
77
function onPosIntervalChange ( ) {
77
78
var interval = parseInt ( document . getElementById ( 'posInterval_check' ) . value ) ;
78
79
if ( ! isNaN ( interval ) && interval > 0 && interval < 100 ) {
79
- if ( interval_position != - 1 ) clearInterval ( interval_position ) ;
80
- interval_position = setInterval ( function ( ) { get_Position ( ) } , interval * 1000 ) ;
80
+ on_autocheck_position ( ) ;
81
81
}
82
82
else {
83
83
document . getElementById ( 'autocheck_position' ) . checked = false ;
Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ function on_autocheck_temperature(){
77
77
store_localdata ( 'autocheck_temperature' , true ) ;
78
78
var interval = parseInt ( document . getElementById ( 'tempInterval_check' ) . value ) ;
79
79
if ( ! isNaN ( interval ) && interval > 0 && interval < 100 ) {
80
+ if ( interval_temperature != - 1 ) clearInterval ( interval_temperature ) ;
80
81
interval_temperature = setInterval ( function ( ) { get_Temperatures ( ) } , interval * 1000 ) ;
81
82
start_graph_output ( ) ;
82
83
}
@@ -100,8 +101,7 @@ function on_autocheck_temperature(){
100
101
function onTempIntervalChange ( ) {
101
102
var interval = parseInt ( document . getElementById ( 'tempInterval_check' ) . value ) ;
102
103
if ( ! isNaN ( interval ) && interval > 0 && interval < 100 ) {
103
- if ( interval_temperature != - 1 ) clearInterval ( interval_temperature ) ;
104
- interval_temperature = setInterval ( function ( ) { get_Temperatures ( ) } , interval * 1000 ) ;
104
+ on_autocheck_temperature ( ) ;
105
105
}
106
106
else {
107
107
document . getElementById ( 'autocheck_temperature' ) . checked = false ;
You can’t perform that action at this time.
0 commit comments