Commit 113a4aba authored by Contra's avatar Contra

slight bug fix with toggle show

parent 5d513b2f
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
</header> </header>
<div id="content"> <div id="content">
<section id="main" data-show=".items | length | overZero"> <section id="main" data-show=".items | length | overZero">
<input id="toggle-all" type="checkbox" data-on-click=":toggle" data-checked=":allCompleted < .items"> <input id="toggle-all" type="checkbox" data-on-click=":toggle" data-checked=":allCompleted < .items" data-show=":all < .items | length | overZero">
<label for="toggle-all">Mark all as complete</label> <label for="toggle-all">Mark all as complete</label>
<ul id="todo-list"> <ul id="todo-list">
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</ul> </ul>
</section> </section>
<footer id="footer" data-show=".items | length | overZero"> <footer id="footer" data-show=":all < .items | length | overZero">
<span id="todo-count"> <span id="todo-count">
<strong data-text=":active < .items | length"></strong> <strong data-text=":active < .items | length"></strong>
item<span data-show=":active < .items | length | plural">s</span> left item<span data-show=":active < .items | length | plural">s</span> left
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment