Commit d26d41a7 authored by JC Brand's avatar JC Brand

Use 'hidden' class instead of `.hide()`. Fixes #706

parent 6cc8215c
......@@ -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>'));
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment