stop the right event

This commit is contained in:
Johannes Rieken 2016-08-12 13:00:41 +02:00
parent 856a9c0d15
commit 0e242679a6

View file

@ -119,7 +119,7 @@ export class BaseActionItem extends EventEmitter implements IActionItem {
}
});
this.builder.on(DOM.EventType.CLICK, (e: MouseEvent) => {
DOM.EventHelper.stop(event, true);
DOM.EventHelper.stop(e, true);
setTimeout(() => this.onClick(e), 50);
});