Skip to content
Browse files

Listview: changed variables to please the linter.

  • Loading branch information...
1 parent ae31df6 commit 10f8b33147396337313a18a60f5fe458bcb11030 @jaspermdegroot jaspermdegroot committed Jul 12, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 js/widgets/listview.js
View
8 js/widgets/listview.js
@@ -173,8 +173,8 @@ $.widget( "mobile.listview", $.mobile.widget, {
// Check if a start attribute has been set and take a value of 0 into account
if ( typeof start !== "undefined" && start !== false ) {
if ( !jsCount ) {
- var startAt = parseFloat( start ) - 1;
- $list.css( "counter-reset", "listnumbering " + startAt );
+ var startCount = parseFloat( start ) - 1;
+ $list.css( "counter-reset", "listnumbering " + startCount );
} else {
counter = parseFloat( start );
}
@@ -254,8 +254,8 @@ $.widget( "mobile.listview", $.mobile.widget, {
//reset counter when a divider heading is encountered
if ( typeof start !== "undefined" && start !== false ) {
if ( !jsCount ) {
- var startAt = parseFloat( start ) - 1;
- item.css( "counter-reset", "listnumbering " + startAt );
+ var newStartCount = parseFloat( start ) - 1;
+ item.css( "counter-reset", "listnumbering " + newStartCount );
} else {
counter = parseFloat( start );
}

0 comments on commit 10f8b33

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