diff --git a/chrome/content/zotero/browser.js b/chrome/content/zotero/browser.js index 40bb58e11..49b053237 100644 --- a/chrome/content/zotero/browser.js +++ b/chrome/content/zotero/browser.js @@ -632,8 +632,17 @@ Zotero_Browser.Tab.prototype._searchFrames = function(rootDoc, searchDoc) { var frames = rootDoc.getElementsByTagName("frame"); for each(var frame in frames) { if(frame.contentDocument && - (frame.contentDocument == searchDoc || - this._searchFrames(frame.contentDocument, searchDoc))) { + (frame.contentDocument == searchDoc || + this._searchFrames(frame.contentDocument, searchDoc))) { + return true; + } + } + + var frames = rootDoc.getElementsByTagName("iframe"); + for each(var frame in frames) { + if(frame.contentDocument && + (frame.contentDocument == searchDoc || + this._searchFrames(frame.contentDocument, searchDoc))) { return true; } }