diff options
Diffstat (limited to 'ui/jquery.ui.accordion.js')
-rw-r--r-- | ui/jquery.ui.accordion.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/jquery.ui.accordion.js b/ui/jquery.ui.accordion.js index 4cfc265a3..e8a10b746 100644 --- a/ui/jquery.ui.accordion.js +++ b/ui/jquery.ui.accordion.js @@ -219,8 +219,7 @@ $.widget( "ui.accordion", { if ( key === "event" ) { if ( this.options.event ) { - this.headers.unbind( - this.options.event.split( " " ).join( ".accordion " ) + ".accordion" ); + this._off( this.headers, this.options.event ); } this._setupEvents( value ); } |