File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -140,6 +140,8 @@ function update_recipe_mode() {
140140 } else if ( cpMode == 'Shutdown' ) {
141141 $ ( "#cp_recipe_mode_btn" ) . hide ( ) ;
142142 document . getElementById ( "cp_recipe_shutdown_btn" ) . className = "btn btn-info text-white" ;
143+ // Change the next step button to a 'stop' icon
144+ $ ( "#cp_recipe_next_step_btn" ) . html ( '<i class="fas fa-stop"></i>' ) ;
143145 } ;
144146 $ ( "#cp_recipe_mode_btn" ) . html ( cpRecipeModeIcon ) ;
145147 cpRecipeLastStep = cpRecipeStep ;
@@ -148,10 +150,10 @@ function update_recipe_mode() {
148150
149151function update_recipe_pause ( ) {
150152 if ( cpRecipePause && cpRecipeTriggered ) {
151- $ ( "#cp_recipe_next_step_btn" ) . html ( '<i class="fas fa-step-forward"></i>' ) ;
153+ // $("#cp_recipe_next_step_btn").html('<i class="fas fa-step-forward"></i>');
152154 document . getElementById ( "cp_recipe_next_step_btn" ) . className = "btn btn-info text-white glowbutton" ;
153155 } else {
154- $ ( "#cp_recipe_next_step_btn" ) . html ( '<i class="fas fa-step-forward"></i>' ) ;
156+ // $("#cp_recipe_next_step_btn").html('<i class="fas fa-step-forward"></i>');
155157 document . getElementById ( "cp_recipe_next_step_btn" ) . className = "btn btn-info text-white" ;
156158 } ;
157159 cpLastRecipePause = cpRecipePause ;
You can’t perform that action at this time.
0 commit comments