mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
Bug 1169632 - Loop conversation name vanishes if the window is detached by dragging. Don't try to set the title in the wrong place - let the detachChatbox code set the title. r=mixedpuppy
This commit is contained in:
parent
26720b0afc
commit
8e9367c0cf
@ -805,12 +805,7 @@
|
||||
let top = Math.min(Math.max(eY, sY.value),
|
||||
sY.value + sHeight.value - winHeight);
|
||||
|
||||
let title = draggedChat.content.getAttribute("title");
|
||||
this.detachChatbox(draggedChat, { screenX: left, screenY: top }).then(
|
||||
chatbox => {
|
||||
chatbox.contentWindow.document.title = title;
|
||||
}
|
||||
);
|
||||
this.detachChatbox(draggedChat, { screenX: left, screenY: top });
|
||||
event.stopPropagation();
|
||||
]]></handler>
|
||||
</handlers>
|
||||
|
Loading…
Reference in New Issue
Block a user