Fix a citation dialog error when the dialog contents are cleared
This commit is contained in:
parent
09dead3a2a
commit
c70c07bb2e
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ var Zotero_QuickFormat = new function () {
|
|||
*/
|
||||
var _quickFormat = Zotero.Promise.coroutine(function* () {
|
||||
var str = _getEditorContent();
|
||||
if (str.match(/\s$/)) {
|
||||
if (str && str.match(/\s$/)) {
|
||||
locatorLocked = true;
|
||||
}
|
||||
var haveConditions = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue