Fix quickformat early dismisal error
This commit is contained in:
parent
387109c1da
commit
390b8b2c86
|
@ -179,6 +179,7 @@ var Zotero_QuickFormat = new function () {
|
|||
*/
|
||||
function _getCurrentEditorTextNode() {
|
||||
var selection = qfiWindow.getSelection();
|
||||
if (!selection) return false;
|
||||
var range = selection.getRangeAt(0);
|
||||
|
||||
var node = range.startContainer;
|
||||
|
|
Loading…
Reference in New Issue
Block a user