www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 390b8b2c863b6d06a739c0abc06377a42976d4c8
parent 387109c1da578fce08ce4ed6fbec4c1d1adb317e
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Fri, 20 Apr 2018 13:13:20 +0300

Fix quickformat early dismisal error

Diffstat:
Mchrome/content/zotero/integration/quickFormat.js | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/chrome/content/zotero/integration/quickFormat.js b/chrome/content/zotero/integration/quickFormat.js @@ -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;