Permalink
Browse files

panel: switch from unbind to off

  • Loading branch information...
1 parent 65e838b commit 941f2e02d3a855555703060a1d912dcd5117162f Alexander Schmitz committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/widgets/panel.js
View
@@ -247,7 +247,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
var o = this.options,
self = this,
complete = function(){
- self.element.add( self._wrapper ).unbind( self._transitionEndEvents , complete );
+ self.element.add( self._wrapper ).off( self._transitionEndEvents , complete );
self.element.addClass( o.classes.panelClosed );
self._wrapper.removeClass( self._contentWrapOpenClasses );
self._wrapper.addClass( o.classes.contentWrapClosed );

0 comments on commit 941f2e0

Please sign in to comment.