-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DeckOption become closable if it's not loaded
Currently, if you try to close the Deck Options before it's loaded, the request `anki.deckOptionsPendingChanges()` can't be executed and the deck options remain open. With this change, the deck options is automatically closed. Indeed, if the webview is not loaded, there was no change to save. This is similar to Anki's implementation. Co-authored-by: David Allison <[email protected]>
- Loading branch information
1 parent
3f21e3c
commit 36d7244
Showing
1 changed file
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters