Fixes #503, Notes broken on Firefox 32
Unwrap the editor object if it's wrapped
This commit is contained in:
parent
954f8bd001
commit
c32144ddfd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user