mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
Fix MathJax popup fails to appear (#2268)
* Fix MathJax popup fails to appear when adding MathJax via Fx button
* Revert "Fix MathJax popup fails to appear when adding MathJax via Fx button"
This reverts commit 11115f59bc
.
* Fix MathJax popup fails to appear when adding MathJax via Fx button
Use setTimeout() according to the PR review
This commit is contained in:
parent
1ed2cce648
commit
7144949dd5
1 changed files with 1 additions and 1 deletions
|
@ -94,7 +94,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|||
|
||||
<Popover slot="floating" --popover-padding-inline="0">
|
||||
{#each dropdownItems as [callback, keyCombination, label]}
|
||||
<DropdownItem on:click={callback}>
|
||||
<DropdownItem on:click={() => setTimeout(callback, 100)}>
|
||||
<span>{label}</span>
|
||||
<span class="ms-auto ps-2 shortcut"
|
||||
>{getPlatformString(keyCombination)}</span
|
||||
|
|
Loading…
Reference in a new issue