Use 'hidden' class instead of .hide()
. Fixes #706
This commit is contained in:
parent
6cc8215c0e
commit
d26d41a701
|
@ -2,6 +2,7 @@
|
|||
|
||||
## 2.0.1 (Unreleased)
|
||||
- #203 New configuration setting [muc_domain](https://conversejs.org/docs/html/configuration.html#muc_domain) [jcbrand]
|
||||
- #705 White content after submitting password on chatrooms [jcbrand]
|
||||
- #712 Controlbox clicks stop responding after auto-reconnect [jcbrand]
|
||||
- Removed shared state between tests. All tests are now isolated. [jcbrand]
|
||||
- Allow the context (i.e. `this` value) to be passed in when registering event
|
||||
|
|
|
@ -914,7 +914,7 @@
|
|||
},
|
||||
|
||||
renderPasswordForm: function () {
|
||||
this.$('.chatroom-body').children().hide();
|
||||
this.$('.chatroom-body').children().addClass('hidden');
|
||||
this.$('span.centered.spinner').remove();
|
||||
this.$('.chatroom-body').append(
|
||||
converse.templates.chatroom_password_form({
|
||||
|
@ -926,8 +926,8 @@
|
|||
},
|
||||
|
||||
showDisconnectMessage: function (msg) {
|
||||
this.$('.chat-area').hide();
|
||||
this.$('.occupants').hide();
|
||||
this.$('.chat-area').addClass('hidden');
|
||||
this.$('.occupants').addClass('hidden');
|
||||
this.$('span.centered.spinner').remove();
|
||||
this.$('.chatroom-body').append($('<p>'+msg+'</p>'));
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user