Skip to content
This repository has been archived by the owner on Oct 5, 2018. It is now read-only.

Commit

Permalink
Solved a weird bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Kosmaczewski committed May 1, 2012
1 parent a63f49b commit 0573501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jQuery Mobile/todoapp/app.js
Expand Up @@ -59,7 +59,8 @@ var MyTaskListApp = function () {
list.append(newLi);
}

list.listview('refresh');
// The 'true' parameter is required for the inset effect to be applied
list.listview('refresh', true);
$('#counter').html(tasks.length + ' tasks');
};

Expand Down

0 comments on commit 0573501

Please sign in to comment.