Commit 96c8c4dd2ba46394d9f355af83b3cf44204cae0a
Exists in
master
and in
39 other branches
Merge branch 'xmpp' of github.com:TracyWebTech/colab into xmpp
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
src/colab/static/third-party/converse.js/converse.js
| ... | ... | @@ -2517,21 +2517,21 @@ |
| 2517 | 2517 | console.log(__('Connected')); |
| 2518 | 2518 | converse.onConnected(connection); |
| 2519 | 2519 | } else if (status === Strophe.Status.DISCONNECTED) { |
| 2520 | - if ($button) { $button.show().siblings('img').remove(); } | |
| 2520 | + if ($button) { $button.show().siblings('span').remove(); } | |
| 2521 | 2521 | converse.giveFeedback(__('Disconnected'), 'error'); |
| 2522 | 2522 | this.connect(null, connection.jid, connection.pass); |
| 2523 | 2523 | } else if (status === Strophe.Status.Error) { |
| 2524 | - if ($button) { $button.show().siblings('img').remove(); } | |
| 2524 | + if ($button) { $button.show().siblings('span').remove(); } | |
| 2525 | 2525 | converse.giveFeedback(__('Error'), 'error'); |
| 2526 | 2526 | } else if (status === Strophe.Status.CONNECTING) { |
| 2527 | 2527 | converse.giveFeedback(__('Connecting')); |
| 2528 | 2528 | } else if (status === Strophe.Status.CONNFAIL) { |
| 2529 | - if ($button) { $button.show().siblings('img').remove(); } | |
| 2529 | + if ($button) { $button.show().siblings('span').remove(); } | |
| 2530 | 2530 | converse.giveFeedback(__('Connection Failed'), 'error'); |
| 2531 | 2531 | } else if (status === Strophe.Status.AUTHENTICATING) { |
| 2532 | 2532 | converse.giveFeedback(__('Authenticating')); |
| 2533 | 2533 | } else if (status === Strophe.Status.AUTHFAIL) { |
| 2534 | - if ($button) { $button.show().siblings('img').remove(); } | |
| 2534 | + if ($button) { $button.show().siblings('span').remove(); } | |
| 2535 | 2535 | converse.giveFeedback(__('Authentication Failed'), 'error'); |
| 2536 | 2536 | } else if (status === Strophe.Status.DISCONNECTING) { |
| 2537 | 2537 | converse.giveFeedback(__('Disconnecting'), 'error'); | ... | ... |