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;
}