diff --git a/js/jquery.mobile.listview.js b/js/jquery.mobile.listview.js index 28047923..110ef5c4 100644 --- a/js/jquery.mobile.listview.js +++ b/js/jquery.mobile.listview.js @@ -65,11 +65,9 @@ $.widget( "mobile.listview", $.mobile.widget, { if ( which === "top" ) { li.removeClass( top ); - } - else if ( which === "bottom" ) { + } else if ( which === "bottom" ) { li.removeClass( bot ); - } - else { + } else { li.removeClass( top + " " + bot ); } },