Commit 3c11ce7f authored by Stas SUȘCOV's avatar Stas SUȘCOV

Fix clear button element id.

parent c3a471b8
{{#with view}}
<button {{action "clearCompleted" target="entries"}} >
<button id="clear-completed" {{action "clearCompleted" target="entries"}} >
Clear completed ({{entries.completed}})
</button>
{{/with}}
......@@ -12,7 +12,6 @@ define('app/views/clear_button', [
return Ember.View.extend({
entriesBinding: 'controller.namespace.entriesController',
template: Ember.Handlebars.compile( button_html ),
elementId: 'clear-completed',
classNameBindings: 'buttonClass',
buttonClass: function () {
if ( !this.getPath( 'entries.completed' ) )
......
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