Commit dfa8390e authored by Aaron Boushley's avatar Aaron Boushley

Merge pull request #82 from colmjude/backboneFix

Fix: double click on item allows editing of item.
parents b600825f 23387930
...@@ -92,7 +92,7 @@ $(function(){ ...@@ -92,7 +92,7 @@ $(function(){
// The DOM events specific to an item. // The DOM events specific to an item.
events: { events: {
"click .check" : "toggleDone", "click .check" : "toggleDone",
"dblclick div.todo-content" : "edit", "dblclick label.todo-content" : "edit",
"click span.todo-destroy" : "clear", "click span.todo-destroy" : "clear",
"keypress .todo-input" : "updateOnEnter", "keypress .todo-input" : "updateOnEnter",
"blur .todo-input" : "close" "blur .todo-input" : "close"
......
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