mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 03:09:13 +00:00
fix the onLogout handler if the window hasn't been rendered yet
This commit is contained in:
parent
253d08d2f9
commit
a9392f9002
@ -225,7 +225,9 @@ Copyright:
|
||||
|
||||
onLogout: function() {
|
||||
this.disconnect();
|
||||
this.hide();
|
||||
if (!this.hidden && this.rendered) {
|
||||
this.hide();
|
||||
}
|
||||
},
|
||||
|
||||
onRemove: function(button) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user