Commit 9c54ae6b authored by Peter Michaux's avatar Peter Michaux

TodoMVC prefers focus over select

parent 497e976f
......@@ -25,7 +25,7 @@ maria.ElementView.subclass(checkit, 'TodoView', {
var input = this.find('.edit');
input.value = this.getModel().getTitle();
aristocrat.addClass(this.find('li'), 'editing');
input.select();
input.focus();
},
showDisplay: function() {
aristocrat.removeClass(this.find('li'), 'editing');
......
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