fix iframe bug introduced by r3987
This commit is contained in:
parent
70beccfc30
commit
90d7f9e937
1 changed files with 1 additions and 0 deletions
|
@ -612,6 +612,7 @@ Zotero_Browser.Tab.prototype.detectTranslators = function(rootDoc, doc) {
|
|||
* searches for a document in all of the frames of a given document
|
||||
*/
|
||||
Zotero_Browser.Tab.prototype._searchFrames = function(rootDoc, searchDoc) {
|
||||
if(rootDoc == searchDoc) return true;
|
||||
var frames = rootDoc.getElementsByTagName("frame");
|
||||
for each(var frame in frames) {
|
||||
if(frame.contentDocument &&
|
||||
|
|
Loading…
Add table
Reference in a new issue