Followup to checkin for 116653 (openURL(,new-tab) support). Seems that the

observer service doesn't implement classinfo, and some people were reporting
a strict warning (?) related to this.  This is a more correct approach anyway,
so here we go. r=blizzard, sr=jag.
This commit is contained in:
shaver%mozilla.org 2002-06-19 20:29:54 +00:00
Родитель 4d872652c4
Коммит ceae58c20c
1 изменённых файлов: 2 добавлений и 2 удалений

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

@ -304,8 +304,8 @@ function RegisterTabOpenObserver()
}
};
const service =
Components.classes["@mozilla.org/observer-service;1"].getService();
const service = Components.classes["@mozilla.org/observer-service;1"]
.getService(Components.interfaces.nsIObserverService);
service.addObserver(observer, "open-new-tab-request", false);
}