mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
compose: Don't close compose box on clicking bottom right keyboard shortcut.
Fixes #9803. The compose box closes on any click in the document outside the compose box except for an element with an anchor tag or in its parents. This commit adds an anchor tag as parent of the keyboard shortcuts icon.
This commit is contained in:
committed by
Tim Abbott
parent
4f4aee6d10
commit
165636e0c4
@@ -241,3 +241,7 @@
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#sidebar-keyboard-shortcuts a {
|
||||
color: hsl(0, 0%, 1.2%); //#333
|
||||
}
|
||||
|
||||
@@ -34,7 +34,9 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div id="sidebar-keyboard-shortcuts">
|
||||
<i id="keyboard-icon" class="fa fa-keyboard-o fa-2x" aria-hidden="true" data-html="true" data-overlay-trigger="keyboard-shortcuts" data-toggle="tooltip" title="{{ _('Keyboard shortcuts') }} <span class='hotkey-hint'>(?)</span>"></i>
|
||||
<a data-overlay-trigger="keyboard-shortcuts">
|
||||
<i class="fa fa-keyboard-o fa-2x" id="keyboard-icon" data-html="true" data-toggle="tooltip" title="{{ _('Keyboard shortcuts') }} <span class='hotkey-hint'>(?)</span>"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user