From c087a12d54f3f690b2e888cbfe6544764c107569 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Tue, 30 Jan 2024 22:12:28 +0530 Subject: [PATCH] change to keypress --- src/pug/templates/macros.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pug/templates/macros.pug b/src/pug/templates/macros.pug index 7154353..9456c8a 100644 --- a/src/pug/templates/macros.pug +++ b/src/pug/templates/macros.pug @@ -102,7 +102,7 @@ script#macros-template(type="text/x-template") .fa.fa-trash br .gcodeContainer - textarea.new-gcode(id="gcode-field", v-model="newGcode" ,@change="updateNewGcode") + textarea.new-gcode(id="gcode-field", v-model="newGcode" ,@keypress="updateNewGcode") button.submit-macros.button-success(title="Save Macros",@click="confirmSave=true",:disabled="!edited") Save button.submit-macros(title="Cancel Macros",@click="clearMacros",style="margin-left:5px;background-color:#fafafa;",:disabled="initial_tab") Cancel