fix default fan speed slider position

oops, forgot the last bit of the if else statement
This commit is contained in:
ntoff 2017-11-12 05:19:12 +10:00
parent 21e4627da2
commit 3049d0fedf

View File

@ -110,6 +110,9 @@ $(function() {
else if (self.control.defaultFanSpeed() > self.control.maxFanSpeed()) { else if (self.control.defaultFanSpeed() > self.control.maxFanSpeed()) {
self.control.fanSpeed(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 //update settings in case user changes them, otherwise a refresh of the UI is required