Final updates for v2.0 #29

Merged
ryan merged 14 commits from 1.3 into main 2026-06-25 14:52:13 -04:00
Showing only changes of commit 1f1f1775c3 - Show all commits
+2 -1
View File
@@ -1,6 +1,6 @@
import { state } from './state.js'; import { state } from './state.js';
import { closeRef, makeButton } from './home.js'; import { closeRef, makeButton } from './home.js';
import { saveNote, findRefLinks } from './note.js'; import { saveNote, findRefLinks, closePopup } from './note.js';
/** /**
* Retrieves the reference type from the server and populates the reference series dropdown. * Retrieves the reference type from the server and populates the reference series dropdown.
@@ -282,6 +282,7 @@ export function queryRef(e, type = null, book = null, input = null) {
state.references[results.title] = results.text; state.references[results.title] = results.text;
closeRef(); closeRef();
closePopup();
state.saved = false; state.saved = false;
state.textDirty = true; state.textDirty = true;