Permalink
Browse files

Number in the "x item left" is bold

  • Loading branch information...
1 parent 40bd285 commit 22f585448faceed9ec843e3d66272e4380ffcde9 @MathieuLorber committed Oct 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 labs/architecture-examples/dart/dart/TodoApp.dart
View
2 labs/architecture-examples/dart/dart/TodoApp.dart
@@ -84,7 +84,7 @@ class TodoApp {
});
checkAllCheckboxElement.checked = (complete == todoElements.length);
int left = todoElements.length - complete;
- countElement.innerHTML = '${left} item${left != 1 ? 's' : ''} left';
+ countElement.innerHTML = '<b>${left}</b> item${left != 1 ? 's' : ''} left';
if(complete == 0) {
clearCompletedElement.style.display = 'none';
} else {

0 comments on commit 22f5854

Please sign in to comment.