Make click-to-select work on nodes that are more than one level down the frame

hierarchy.  Bug 240892, r=timeless, sr=peterv
This commit is contained in:
bzbarsky%mit.edu 2004-04-21 15:09:27 +00:00
Родитель f4cdda904d
Коммит a353bff199
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -770,6 +770,8 @@ DOMViewer.prototype =
for (var i = 0; i < aKids.length; ++i) {
try {
aArray.push(aKids[i].contentDocument);
// Now recurse down into the kid and look for documents there
this.findDocuments(aKids[i].contentDocument, aArray);
} catch (ex) {
// if we can't access the content document, skip it
}