diff --git a/src/timeline/component/item/Item.js b/src/timeline/component/item/Item.js index eeacf4c6..49922ba9 100644 --- a/src/timeline/component/item/Item.js +++ b/src/timeline/component/item/Item.js @@ -98,8 +98,9 @@ Item.prototype._repaintDeleteButton = function (anchor) { Hammer(deleteButton, { preventDefault: true - }).on('tap', function () { + }).on('tap', function (event) { parent.removeItem(id); + event.stopPropagation(); }); anchor.appendChild(deleteButton);