mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-02 08:13:34 +03:00
11 lines
268 B
JavaScript
11 lines
268 B
JavaScript
|
/*
|
||
|
Popovers and their buttons are evented and do not propagate clicks.
|
||
|
*/
|
||
|
var PopoverMixin = Ember.Mixin.create(Ember.Evented, {
|
||
|
click: function (event) {
|
||
|
this._super(event);
|
||
|
return event.stopPropagation();
|
||
|
}
|
||
|
});
|
||
|
|
||
|
export default PopoverMixin;
|