mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-27 19:55:57 +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() {
|
onLogout: function() {
|
||||||
this.disconnect();
|
this.disconnect();
|
||||||
|
if (!this.hidden && this.rendered) {
|
||||||
this.hide();
|
this.hide();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
onRemove: function(button) {
|
onRemove: function(button) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user