Skip to content
Browse files

Don't show current task if none exists

  • Loading branch information...
1 parent 7765825 commit 0013bb1fa4d3f791b593d6a0f9277eaf83d301c4 @dbecher dbecher committed Feb 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.html
View
2 index.html
@@ -19,7 +19,7 @@
<!-- Todo App Interface -->
<div id="title">
- <h2 id="current_task">Current Task: <span data-bind="text: first().item"></span> Time Remaining: <span data-bind="text: time_remaining"></span></h2>
+ <h2 id="current_task"><strong data-bind="visible: first().item() != ''"> Current Task: <span data-bind="text: first().item"></span></strong> Time Remaining: <span data-bind="text: time_remaining"></span></h2>
</div>
<div id="summary">

0 comments on commit 0013bb1

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