Commit 23387930 authored by Colm Britton's avatar Colm Britton

Fix: double click on item allows editing of item.

dblclick event was attached to div.todo-content when it needed to be label.todo-content.
parent b600825f
......@@ -92,7 +92,7 @@ $(function(){
// The DOM events specific to an item.
events: {
"click .check" : "toggleDone",
"dblclick div.todo-content" : "edit",
"dblclick label.todo-content" : "edit",
"click span.todo-destroy" : "clear",
"keypress .todo-input" : "updateOnEnter",
"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