diff --git a/octoprint_klipper/static/js/klipper.js b/octoprint_klipper/static/js/klipper.js index a3bb837..10ca040 100644 --- a/octoprint_klipper/static/js/klipper.js +++ b/octoprint_klipper/static/js/klipper.js @@ -66,7 +66,7 @@ $(function () { self.executeMacro = function (macro) { var paramObjRegex = /{(.*?)}/g; - if (!this.hasRight("MACROS")) return; + if (!this.hasRight("MACRO")) return; if (macro.macro().match(paramObjRegex) == null) { OctoPrint.control.sendGcode(