From 6ff9d9a06a6f81b8d93a552c0673465a0b12ccc9 Mon Sep 17 00:00:00 2001 From: Ghislain Seguin Date: Wed, 27 Jul 2011 11:22:13 -0700 Subject: [PATCH] Coding standards --- js/jquery.mobile.listview.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 ); } },