Bug 789308. Fix reversed socialFrameShow/Hide events. r=felipe

This commit is contained in:
Shane Caraveo 2012-09-06 15:36:36 -07:00
parent 7ce23caa9e
commit 793ef5de61

View File

@ -47,7 +47,7 @@
// let the chat frame know if it is being shown or hidden
let evt = this.iframe.contentDocument.createEvent("CustomEvent");
evt.initCustomEvent(val ? "socialFrameHide" : "socialFrameShow", true, true, {});
evt.initCustomEvent(val ? "socialFrameShow" : "socialFrameHide", true, true, {});
this.iframe.contentDocument.documentElement.dispatchEvent(evt);
</setter>
</property>