Bug 13892. Fix window targeting for new sidebar.

This commit is contained in:
waterson%netscape.com 1999-09-16 01:23:37 +00:00
Родитель 56f36ccf03
Коммит 45579e4158
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -26,7 +26,7 @@
// god-awful fragile. The logic goes something like this. Our parent
// is the sidebar, whose parent is the content frame, whose frame[1]
// is the content area.
var ContentWindow = window.parent.parent.frames[1];
var ContentWindow = window.content;
// The related links handler
var Handler = Components.classes["component://netscape/related-links-handler"].createInstance();

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

@ -26,7 +26,7 @@
// god-awful fragile. The logic goes something like this. Our parent
// is the sidebar, whose parent is the content frame, whose frame[1]
// is the content area.
var ContentWindow = window.parent.parent.frames[1];
var ContentWindow = window.content;
// The related links handler
var Handler = Components.classes["component://netscape/related-links-handler"].createInstance();