min/max requirement notification text fix

speed decrease notification used "meet minimum requirement" which might be misleading, changed to "meet maximum requirement"
This commit is contained in:
ntoff 2017-11-12 01:11:36 +10:00
parent 175722a015
commit deb15025d8

View File

@ -46,7 +46,7 @@ $(function() {
console.log("Fan Speed Control Plugin: " + self.control.fanSpeed() + "% is more than the maximum speed set in the fan control settings, decreasing to " + self.control.maxFanSpeed() + "%"); console.log("Fan Speed Control Plugin: " + self.control.fanSpeed() + "% is more than the maximum speed set in the fan control settings, decreasing to " + self.control.maxFanSpeed() + "%");
self.control.fanSpeed(self.control.maxFanSpeed()); self.control.fanSpeed(self.control.maxFanSpeed());
var options = { var options = {
text: 'Fan speed decreased to meet minimum requirement.', text: 'Fan speed decreased to meet maximum requirement.',
} }
self.showNotify(self,options); self.showNotify(self,options);