summaryrefslogtreecommitdiff
path: root/misc/textarea.js
diff options
context:
space:
mode:
Diffstat (limited to 'misc/textarea.js')
-rw-r--r--misc/textarea.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/textarea.js b/misc/textarea.js
index fc98f1544..23f24d29d 100644
--- a/misc/textarea.js
+++ b/misc/textarea.js
@@ -4,7 +4,7 @@ if (isJsEnabled()) {
addLoadEvent(textAreaInit);
}
-function textAreaInit(parent) {
+function textAreaAutoAttach(event, parent) {
if (typeof parent == 'undefined') {
// Attach to all visible textareas.
textareas = document.getElementsByTagName('textarea');