Coding standards

This commit is contained in:
gseguin 2011-08-03 11:15:03 -07:00
parent a48128f9a3
commit 6da588c394

View file

@ -545,7 +545,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
// 30px tolerance off the edges
if ( newleft < 30 ) {
newleft = 30;
} else if ( (newleft + menuWidth) > screenWidth ) {
} else if ( ( newleft + menuWidth ) > screenWidth ) {
newleft = screenWidth - menuWidth - 30;
}
}
@ -591,8 +591,7 @@ $.widget( "mobile.selectmenu", $.mobile.widget, {
// where the objects don't define data urls which prevents dialog key
// stripping - changePage has incoming refactor
window.history.back();
}
else{
} else{
self.screen.addClass( "ui-screen-hidden" );
self.listbox.addClass( "ui-selectmenu-hidden" ).removeAttr( "style" ).removeClass( "in" );
self._focusButton();