mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
cce324724a
refs https://github.com/TryGhost/Team/issues/2677 - When shift clicking on the first item, it no longer will select from top to that item. It will now just select that item. - Updates event listeners to use mousedown to prevent text selection glitch
4 lines
221 B
Handlebars
4 lines
221 B
Handlebars
<div role="menuitem" {{on "click" this.onClick capture=true}} {{on "mousedown" this.onMouseDown capture=true}} data-selected={{this.isSelected}} {{on "contextmenu" this.onContextMenu}} ...attributes>
|
|
{{yield}}
|
|
</div>
|