Browse Source

Remove 'Connecting' message if login fails.

JC Brand 9 years ago
parent
commit
fa49fbeed5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -2541,7 +2541,7 @@
                     this.registerpanel.render().$el.hide();
                     this.registerpanel.render().$el.hide();
                 }
                 }
                 this.initDragResize();
                 this.initDragResize();
-                if ($feedback.length) {
+                if ($feedback.length && $feedback.text() !== __('Connecting')) {
                     this.$('.conn-feedback').replaceWith($feedback);
                     this.$('.conn-feedback').replaceWith($feedback);
                 }
                 }
                 return this;
                 return this;