diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-08-16 14:19:52 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-08-16 14:19:52 +0000 |
commit | dab4c2b56419ec704dfafda34c73d9c526fafdfa (patch) | |
tree | e78c6f61e1722fc618be3fa247d7ea21bcac3e37 | |
parent | cdd179d26df645f6828563ead6d07e0b3a5b2b6f (diff) | |
download | jquery-ui-dab4c2b56419ec704dfafda34c73d9c526fafdfa.tar.gz jquery-ui-dab4c2b56419ec704dfafda34c73d9c526fafdfa.zip |
Accordion: Fixed #3194: Prevent exposure of internal methods.
-rw-r--r-- | ui/ui.accordion.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/ui.accordion.js b/ui/ui.accordion.js index 4df9edea9..2558fc4c1 100644 --- a/ui/ui.accordion.js +++ b/ui/ui.accordion.js @@ -13,7 +13,7 @@ (function($) { $.widget("ui.accordion", { - init: function() { + _init: function() { var options = this.options; if ( options.navigation ) { @@ -111,7 +111,7 @@ function completed(cancel) { overflow: "" }); } - instance.trigger('change', null, options.data); + instance._trigger('change', null, options.data); } function toggle(toShow, toHide, data, clickedActive, down) { |