mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
accordion: added missing defaults (fixes #3884)
This commit is contained in:
parent
929e2dadfa
commit
b6bf540c0d
@ -372,15 +372,19 @@ $.widget("ui.accordion", {
|
|||||||
$.extend($.ui.accordion, {
|
$.extend($.ui.accordion, {
|
||||||
version: "@VERSION",
|
version: "@VERSION",
|
||||||
defaults: {
|
defaults: {
|
||||||
|
active: false,
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
alwaysOpen: true,
|
alwaysOpen: true,
|
||||||
animated: 'slide',
|
animated: 'slide',
|
||||||
|
clearStyle: false,
|
||||||
event: "click",
|
event: "click",
|
||||||
|
fillSpace: false,
|
||||||
header: "a",
|
header: "a",
|
||||||
icons: {
|
icons: {
|
||||||
header: "ui-icon-triangle-1-e",
|
header: "ui-icon-triangle-1-e",
|
||||||
headerSelected: "ui-icon-triangle-1-s"
|
headerSelected: "ui-icon-triangle-1-s"
|
||||||
},
|
},
|
||||||
|
navigation: false,
|
||||||
navigationFilter: function() {
|
navigationFilter: function() {
|
||||||
return this.href.toLowerCase() == location.href.toLowerCase();
|
return this.href.toLowerCase() == location.href.toLowerCase();
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user