From 32778ef28a13c578512fb6c2a774e48cb3c0c014 Mon Sep 17 00:00:00 2001 From: Misode Date: Fri, 21 Jun 2019 22:54:18 +0200 Subject: [PATCH] Fix some textarea's not working correctly --- index.html | 4 ++-- view.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index b9c77046..1154b7e6 100644 --- a/index.html +++ b/index.html @@ -740,7 +740,7 @@
NBT
- + @@ -801,7 +801,7 @@
NBT
- + diff --git a/view.js b/view.js index bac2c5c2..3206d6ea 100644 --- a/view.js +++ b/view.js @@ -246,7 +246,7 @@ function generateFunction(func, i) { if (typeof value !== 'string') { value = JSON.stringify(value); } - $function.find('.function-name input').val(value).keydown(e => preventNewline(e)); + $function.find('.function-name textarea').val(value).keydown(e => preventNewline(e)); } else { delete func.name; }