Skip to content
Browse files

Minor variable changes and whitespace cleanup

  • Loading branch information...
1 parent c6e50e2 commit 191bc6988393335225c4473963cae5ec9b70f996 @zachleat committed Dec 28, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 js/widgets/panel.js
View
6 js/widgets/panel.js
@@ -223,7 +223,7 @@ $.widget( "mobile.panel", $.mobile.widget, {
} else{
setTimeout( complete , 0 );
}
- self._page.addClass( self.options.classes.pageBlock );
+ self._page.addClass( o.classes.pageBlock );
self.element.removeClass( o.classes.panelClosed );
self.element.addClass( o.classes.panelOpen );
self._contentWrapOpenClasses = self._getPosDisplayClasses( o.classes.contentWrap );
@@ -240,11 +240,11 @@ $.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 ).unbind( self._transitionEndEvents, complete );
self.element.addClass( o.classes.panelClosed );
self._wrapper.removeClass( self._contentWrapOpenClasses );
self._wrapper.addClass( o.classes.contentWrapClosed );
- self._page.removeClass( self.options.classes.pageBlock );
+ self._page.removeClass( o.classes.pageBlock );
self._fixPanel();
self._unbindFixListener();
self._trigger( "close" );

0 comments on commit 191bc69

Please sign in to comment.
Something went wrong with that request. Please try again.