diff --git a/octoprint_fanspeedslider/static/js/fanslider.js b/octoprint_fanspeedslider/static/js/fanslider.js index 9d6940c..2e6b755 100644 --- a/octoprint_fanspeedslider/static/js/fanslider.js +++ b/octoprint_fanspeedslider/static/js/fanslider.js @@ -110,6 +110,9 @@ $(function() { else if (self.control.defaultFanSpeed() > self.control.maxFanSpeed()) { self.control.fanSpeed(self.control.maxFanSpeed()); } + else { + self.control.fanSpeed(self.control.defaultFanSpeed()); + } } //update settings in case user changes them, otherwise a refresh of the UI is required