www

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

commit 449086672c55fb34562d68c33f3a685bcfa4790f
parent 496d4c5e7721e494dc917b9ae6db916462f88509
Author: Simon Kornblith <simon@simonster.com>
Date:   Mon,  2 Feb 2015 23:27:48 -0500

Fix #619, Retrieve metadata via Google Scholar broken in Firefox 31-34

Diffstat:
Mchrome/content/zotero/xpcom/translation/translate.js | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/zotero/xpcom/translation/translate.js b/chrome/content/zotero/xpcom/translation/translate.js @@ -1726,7 +1726,9 @@ Zotero.Translate.Web.prototype._getSandboxLocation = function() { * Pass document and location to detect* and do* functions */ Zotero.Translate.Web.prototype._getParameters = function() { - if (Zotero.Translate.DOMWrapper && Zotero.Translate.DOMWrapper.isWrapped(this.document)) { + if (Zotero.Translate.DOMWrapper && + Zotero.Translate.DOMWrapper.isWrapped(this.document) && + Zotero.platformMajorVersion >= 35) { return [this._sandboxManager.wrap(Zotero.Translate.DOMWrapper.unwrap(this.document), null, this.document.__wrapperOverrides), this.location]; } else {