Fix popups disappearing when resizing windows

This fixes issue #581
This commit is contained in:
Guangcong Luo
2015-12-20 04:27:05 -05:00
parent 11e3863aa7
commit 94f62e4ee4

View File

@@ -1346,7 +1346,6 @@
},
updateLayout: function () {
if (!this.curRoom) return; // can happen during initialization
this.dismissPopups();
if (!this.sideRoom) {
this.curRoom.show('full');
if (this.curRoom.id === '') {