diff --git a/octoprint_fanspeedslider/static/js/fanslider.js b/octoprint_fanspeedslider/static/js/fanslider.js index 6d0ebe1..c984a6b 100644 --- a/octoprint_fanspeedslider/static/js/fanslider.js +++ b/octoprint_fanspeedslider/static/js/fanslider.js @@ -78,7 +78,7 @@ $(function () { $("#fan-off").remove(); //add new fan controls $("#control-jog-general").find("button").eq(0).before("\ - \ + \ \ \ "); @@ -92,7 +92,7 @@ $(function () { $("#control-jog-extrusion").after("\
\
\ - \ + \ \
\
\ @@ -126,7 +126,7 @@ $(function () { } else { self.control.fanSpeed(self.control.defaultFanSpeed()); - } + } } //update settings in case user changes them, otherwise a refresh of the UI is required