summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/collapse.js2
-rw-r--r--misc/textarea.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/collapse.js b/misc/collapse.js
index e6905ac08..21b730c2d 100644
--- a/misc/collapse.js
+++ b/misc/collapse.js
@@ -24,7 +24,7 @@ function collapseAutoAttach() {
collapseScrollIntoView(this.parentNode.parentNode);
if (typeof textAreaInit != 'undefined') {
// Add the grippie to a textarea in a collapsed fieldset.
- textAreaInit(this.parentNode.parentNode);
+ textAreaAutoAttach(null, this.parentNode.parentNode);
}
}
this.blur();
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');