summaryrefslogtreecommitdiff
path: root/misc/collapse.js
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2007-06-01 09:05:45 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2007-06-01 09:05:45 +0000
commit7f8b191781017f2212ca547b8d0e1fac7990e9a4 (patch)
treefe2520049124f942677e65141ced3e40e4cd1471 /misc/collapse.js
parent21e3e4b490dc99fecaca9ddf79c4b186fc3b4f4a (diff)
downloadbrdo-7f8b191781017f2212ca547b8d0e1fac7990e9a4.tar.gz
brdo-7f8b191781017f2212ca547b8d0e1fac7990e9a4.tar.bz2
#119441: JavaScript aggregator/compressor by m3avrck and others.
Diffstat (limited to 'misc/collapse.js')
-rw-r--r--misc/collapse.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/collapse.js b/misc/collapse.js
index 5abe06c14..58aae89fa 100644
--- a/misc/collapse.js
+++ b/misc/collapse.js
@@ -14,7 +14,7 @@ Drupal.toggleFieldset = function(fieldset) {
Drupal.collapseScrollIntoView(this.parentNode);
this.parentNode.animating = false;
});
- if (typeof Drupal.textareaAttach != 'undefined') {
+ if (typeof(Drupal.textareaAttach) != 'undefined') {
// Initialize resizable textareas that are now revealed
Drupal.textareaAttach(null, fieldset);
}
@@ -25,7 +25,7 @@ Drupal.toggleFieldset = function(fieldset) {
this.parentNode.animating = false;
});
}
-}
+};
/**
* Scroll a given fieldset into view as much as possible.
@@ -42,7 +42,7 @@ Drupal.collapseScrollIntoView = function (node) {
window.scrollTo(0, pos.y + node.offsetHeight - h + fudge);
}
}
-}
+};
// Global Killswitch
if (Drupal.jsEnabled) {