Close prompt if you open Document History
(i.e. with Ctrl+Shift+Y, since the button already closes the prompt)main
parent
fdb85c8662
commit
65f1127aa8
|
@ -1031,6 +1031,9 @@ function get_history_ancestors(node) {
|
||||||
|
|
||||||
let $document_history_window;
|
let $document_history_window;
|
||||||
function show_document_history() {
|
function show_document_history() {
|
||||||
|
if ($document_history_prompt_window) {
|
||||||
|
$document_history_prompt_window.close();
|
||||||
|
}
|
||||||
if ($document_history_window) {
|
if ($document_history_window) {
|
||||||
$document_history_window.close();
|
$document_history_window.close();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue