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 8373556f74
commit c436d3f5f2

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>