mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-06 16:38:43 +00:00
fix the onLogout handler if the window hasn't been rendered yet
This commit is contained in:
parent
253d08d2f9
commit
a9392f9002
1 changed files with 3 additions and 1 deletions
|
@ -225,7 +225,9 @@ Copyright:
|
||||||
|
|
||||||
onLogout: function() {
|
onLogout: function() {
|
||||||
this.disconnect();
|
this.disconnect();
|
||||||
|
if (!this.hidden && this.rendered) {
|
||||||
this.hide();
|
this.hide();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onRemove: function(button) {
|
onRemove: function(button) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue