upd: reference.js
import closePopup function
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user