Browse Source

Commit 11.4: Add private class to private tasks.

Frederic G. MARAND 9 years ago
parent
commit
abf721c030
1 changed files with 1 additions and 1 deletions
  1. 1 1
      simple-todos.html

+ 1 - 1
simple-todos.html

@@ -34,7 +34,7 @@
 
 <!-- Custom "task" template -->
 <template name="task">
-  <li class="{{#if checked}}checked{{/if}}">
+  <li class="{{#if checked}}checked{{/if}} {{#if private}}private{{/if}}">
     <button class="delete">&times;</button>
     <input type="checkbox" checked="{{checked}}" class="toggle-checked" />