www

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

commit 14f40218a922a2eca69d141870c99bc2edc1469d
parent 1deba232facfe8351b08f88adf755e146108bbf4
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 26 Oct 2017 01:22:36 -0400

Fix potential restart error switching to first note of session

Diffstat:
Mchrome/content/zotero/bindings/styled-textbox.xml | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml @@ -620,7 +620,9 @@ <method name="clearUndo"> <body> <![CDATA[ - this._editor.undoManager.clear(); + if (this._editor) { + this._editor.undoManager.clear(); + } ]]> </body> </method>