From deb15025d830b8e9f2cf006829d16f997ac38444 Mon Sep 17 00:00:00 2001 From: ntoff Date: Sun, 12 Nov 2017 01:11:36 +1000 Subject: [PATCH] min/max requirement notification text fix speed decrease notification used "meet minimum requirement" which might be misleading, changed to "meet maximum requirement" --- octoprint_fanspeedslider/static/js/fanslider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octoprint_fanspeedslider/static/js/fanslider.js b/octoprint_fanspeedslider/static/js/fanslider.js index 81dd1d4..bc2d168 100644 --- a/octoprint_fanspeedslider/static/js/fanslider.js +++ b/octoprint_fanspeedslider/static/js/fanslider.js @@ -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() + "%"); self.control.fanSpeed(self.control.maxFanSpeed()); var options = { - text: 'Fan speed decreased to meet minimum requirement.', + text: 'Fan speed decreased to meet maximum requirement.', } self.showNotify(self,options);