Bug 464260: FUEL - Change nsIDOMHTMLDocument check to nsIDOMDocument check, r=gavin

This commit is contained in:
Mark Finkle 2009-01-02 12:40:45 -05:00
parent 89b349d0a4
commit 5771ee4e14

View File

@ -233,7 +233,7 @@ BrowserTab.prototype = {
*/
_event : function bt_event(aEvent) {
if (aEvent.type == "load") {
if (!(aEvent.originalTarget instanceof Ci.nsIDOMHTMLDocument))
if (!(aEvent.originalTarget instanceof Ci.nsIDOMDocument))
return;
if (aEvent.originalTarget.defaultView instanceof Ci.nsIDOMWindowInternal &&