aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2008-08-16 14:19:52 +0000
committerScott González <scott.gonzalez@gmail.com>2008-08-16 14:19:52 +0000
commitdab4c2b56419ec704dfafda34c73d9c526fafdfa (patch)
treee78c6f61e1722fc618be3fa247d7ea21bcac3e37
parentcdd179d26df645f6828563ead6d07e0b3a5b2b6f (diff)
downloadjquery-ui-dab4c2b56419ec704dfafda34c73d9c526fafdfa.tar.gz
jquery-ui-dab4c2b56419ec704dfafda34c73d9c526fafdfa.zip
Accordion: Fixed #3194: Prevent exposure of internal methods.
-rw-r--r--ui/ui.accordion.js4
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) {