Skip to content

Commit

Permalink
accordion: added missing defaults (fixes #3884)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Bakaus committed Jan 20, 2009
1 parent 929e2da commit b6bf540
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/ui.accordion.js
Expand Up @@ -372,15 +372,19 @@ $.widget("ui.accordion", {
$.extend($.ui.accordion, {
version: "@VERSION",
defaults: {
active: false,
autoHeight: true,
alwaysOpen: true,
animated: 'slide',
clearStyle: false,
event: "click",
fillSpace: false,
header: "a",
icons: {
header: "ui-icon-triangle-1-e",
headerSelected: "ui-icon-triangle-1-s"
},
navigation: false,
navigationFilter: function() {
return this.href.toLowerCase() == location.href.toLowerCase();
},
Expand Down

0 comments on commit b6bf540

Please sign in to comment.