fix iframe bug introduced by r3987

This commit is contained in:
Simon Kornblith 2009-01-12 07:31:36 +00:00
parent 70beccfc30
commit 90d7f9e937

View file

@ -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 &&