diff --git a/chrome/content/zotero/bindings/styled-textbox.xml b/chrome/content/zotero/bindings/styled-textbox.xml index 8d2b59643..aa8993066 100644 --- a/chrome/content/zotero/bindings/styled-textbox.xml +++ b/chrome/content/zotero/bindings/styled-textbox.xml @@ -418,7 +418,13 @@ if (!SJOW.zoteroInit) { SJOW.zoteroInit = function(editor) { - self._editor = editor; + // Necessary in Fx32+ + if (editor.wrappedJSObject) { + self._editor = editor.wrappedJSObject; + } + else { + self._editor = editor; + } if (self._value) { self.value = self._value; }