Commit 789ad727 authored by Arthur Verschaeve's avatar Arthur Verschaeve

Dart: remove count in clear completed button

parent a3d259b3
...@@ -4312,8 +4312,8 @@ z="<strong>"+x+"</strong> item" ...@@ -4312,8 +4312,8 @@ z="<strong>"+x+"</strong> item"
J.Qy(this.e,z+(x!==1?"s":"")+" left") J.Qy(this.e,z+(x!==1?"s":"")+" left")
z=this.f z=this.f
if(y===0)J.Y(z.style,"none") if(y===0)J.Y(z.style,"none")
else{J.Y(z.style,"block") else J.Y(z.style,"block")
z.textContent="Clear completed ("+y+")"}this.nW()}, this.nW()},
nW:function(){switch(window.location.hash){case"#/active":this.dK() nW:function(){switch(window.location.hash){case"#/active":this.dK()
break break
case"#/completed":this.bI() case"#/completed":this.bI()
......
...@@ -99,7 +99,6 @@ class TodoApp { ...@@ -99,7 +99,6 @@ class TodoApp {
clearCompletedElement.style.display = 'none'; clearCompletedElement.style.display = 'none';
} else { } else {
clearCompletedElement.style.display = 'block'; clearCompletedElement.style.display = 'block';
clearCompletedElement.text = 'Clear completed ($complete)';
} }
updateFilter(); updateFilter();
} }
......
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