Commit 6aae0a3c authored by Dries's avatar Dries
Browse files

- Pach #146462 by quicksketch, Stefan, et al: update to jQuery 1.1.3.1

parent 97201e85
......@@ -5,13 +5,13 @@
*/
Drupal.toggleFieldset = function(fieldset) {
if ($(fieldset).is('.collapsed')) {
var content = $('> div', fieldset).hide();
var content = $('> div', fieldset);
$(fieldset).removeClass('collapsed');
content.hide();
content.slideDown( {
duration: 300,
duration: 'fast',
easing: 'linear',
complete: function() {
// Make sure we open to height auto
$(this).css('height', 'auto');
Drupal.collapseScrollIntoView(this.parentNode);
this.parentNode.animating = false;
},
......@@ -22,7 +22,7 @@ Drupal.toggleFieldset = function(fieldset) {
});
}
else {
var content = $('> div', fieldset).slideUp('medium', function() {
var content = $('> div', fieldset).slideUp('fast', function() {
$(this.parentNode).addClass('collapsed');
this.parentNode.animating = false;
});
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment