1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-05 05:25:27 +02:00

Make popups close on doble-click + quote @size attrs

1. Popups should close on subsequent trigger clicks
2. @attrs should be quoted as oper linter warnings.
This commit is contained in:
McMatts 2019-05-28 10:59:48 +01:00
parent c65eb97948
commit c49707d160
41 changed files with 84 additions and 81 deletions

View file

@ -1,7 +1,7 @@
{{#ui/ui-toolbar dark=false light=false raised=false large=false bordered=false}}
{{#if (or hasDocuments pinState.isPinned session.authenticated)}}
{{#ui/ui-toolbar-dropdown label="Content" arrow=true}}
{{#attach-popover class="ember-attacher-popper" hideOn="clickout" showOn="click" isShown=false}}
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
<div class="menu">
{{#if pinState.isPinned}}
<li class="item" {{action "onUnpin"}}>Remove bookmark</li>
@ -18,7 +18,7 @@
{{#if permissions.documentAdd}}
{{#ui/ui-toolbar-dropdown label="New" arrow=true}}
{{#attach-popover class="ember-attacher-popper" hideOn="clickout" showOn="click" isShown=false}}
{{#attach-popover class="ember-attacher-popper" hideOn="click clickout" showOn="click" isShown=false}}
<div class="menu">
<li class="item" {{action "onShowEmptyDocModal"}}>Blank canvas</li>
{{#if hasTemplates}}