|
@ -98,8 +98,9 @@ Item.prototype._repaintDeleteButton = function (anchor) { |
|
|
|
|
|
|
|
|
Hammer(deleteButton, { |
|
|
Hammer(deleteButton, { |
|
|
preventDefault: true |
|
|
preventDefault: true |
|
|
}).on('tap', function () { |
|
|
|
|
|
|
|
|
}).on('tap', function (event) { |
|
|
parent.removeItem(id); |
|
|
parent.removeItem(id); |
|
|
|
|
|
event.stopPropagation(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
anchor.appendChild(deleteButton); |
|
|
anchor.appendChild(deleteButton); |
|
|