mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Accordion: Fixed #3194: Prevent exposure of internal methods.
This commit is contained in:
parent
cdd179d26d
commit
dab4c2b564
@ -13,7 +13,7 @@
|
|||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
$.widget("ui.accordion", {
|
$.widget("ui.accordion", {
|
||||||
init: function() {
|
_init: function() {
|
||||||
var options = this.options;
|
var options = this.options;
|
||||||
|
|
||||||
if ( options.navigation ) {
|
if ( options.navigation ) {
|
||||||
@ -111,7 +111,7 @@ function completed(cancel) {
|
|||||||
overflow: ""
|
overflow: ""
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
instance.trigger('change', null, options.data);
|
instance._trigger('change', null, options.data);
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggle(toShow, toHide, data, clickedActive, down) {
|
function toggle(toShow, toHide, data, clickedActive, down) {
|
||||||
|
Loading…
Reference in New Issue
Block a user