Close prompt if you open Document History

(i.e. with Ctrl+Shift+Y, since the button already closes the prompt)
main
Isaiah Odhner 2019-12-08 20:32:04 -05:00
parent fdb85c8662
commit 65f1127aa8
1 changed files with 3 additions and 0 deletions

View File

@ -1031,6 +1031,9 @@ function get_history_ancestors(node) {
let $document_history_window;
function show_document_history() {
if ($document_history_prompt_window) {
$document_history_prompt_window.close();
}
if ($document_history_window) {
$document_history_window.close();
}