Commit f7c4daee authored by Arthur Verschaeve's avatar Arthur Verschaeve

Somajs: remove count from `clear completed` button

parent 1995b5a5
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
<a class="{{highlightFilter('completed')}}" href="#/completed">Completed</a> <a class="{{highlightFilter('completed')}}" href="#/completed">Completed</a>
</li> </li>
</ul> </ul>
<button id="clear-completed" data-show="{{clearCompletedVisible()}}" data-click="clearCompleted()">Clear completed ({{completed}})</button> <button id="clear-completed" data-show="{{clearCompletedVisible()}}" data-click="clearCompleted()">Clear completed</button>
</footer> </footer>
</section> </section>
......
...@@ -316,20 +316,10 @@ html #clear-completed:active { ...@@ -316,20 +316,10 @@ html #clear-completed:active {
line-height: 20px; line-height: 20px;
text-decoration: none; text-decoration: none;
cursor: pointer; cursor: pointer;
visibility: hidden;
position: relative; position: relative;
} }
#clear-completed::after { #clear-completed:hover {
visibility: visible;
content: 'Clear completed';
position: absolute;
top: 0;
right: 0;
white-space: nowrap;
}
#clear-completed:hover::after {
text-decoration: underline; text-decoration: underline;
} }
......
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