diff options
-rw-r--r-- | misc/collapse.js | 2 | ||||
-rw-r--r-- | misc/textarea.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/misc/collapse.js b/misc/collapse.js index 21b730c2d..b3695b51e 100644 --- a/misc/collapse.js +++ b/misc/collapse.js @@ -22,7 +22,7 @@ function collapseAutoAttach() { toggleClass(this.parentNode.parentNode, 'collapsed'); if (!hasClass(this.parentNode.parentNode, 'collapsed')) { collapseScrollIntoView(this.parentNode.parentNode); - if (typeof textAreaInit != 'undefined') { + if (typeof textAreaAutoAttach != 'undefined') { // Add the grippie to a textarea in a collapsed fieldset. textAreaAutoAttach(null, this.parentNode.parentNode); } diff --git a/misc/textarea.js b/misc/textarea.js index 23f24d29d..3e5f4789c 100644 --- a/misc/textarea.js +++ b/misc/textarea.js @@ -1,7 +1,7 @@ // $Id$ if (isJsEnabled()) { - addLoadEvent(textAreaInit); + addLoadEvent(textAreaAutoAttach); } function textAreaAutoAttach(event, parent) { |