From 19a1be391d902f288eaff3e5692eb85590ff3778 Mon Sep 17 00:00:00 2001 From: Matheus Figueiredo Date: Tue, 23 Jul 2013 13:42:45 -0300 Subject: [PATCH] using span with css instead of img using span instead of img to avoid problems with relative paths --- converse.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/converse.js b/converse.js index 18df1ea37..e706a6b99 100644 --- a/converse.js +++ b/converse.js @@ -1161,7 +1161,7 @@ '

' + '' + '

' + - '' + + '' + '
'), chatarea_template: _.template( @@ -1246,7 +1246,7 @@ 'hidden': 'hidden', 'list-single': 'dropdown' }; - $form.find('img.spinner').remove(); + $form.find('span.spinner').remove(); $form.append($('').text(title)); if (instructions != title) { $form.append($('

').text(instructions)); @@ -1355,7 +1355,7 @@ this.$el.find('.chat-body').append( $('

'+ '
'+ - ''+ + ''+ ''+ '
')); converse.connection.muc.configure( @@ -1368,12 +1368,12 @@ ev.preventDefault(); var password = this.$el.find('.chatroom-form').find('input[type=password]').val(); this.$el.find('.chatroom-form-container').replaceWith( - ''); + ''); this.connect(password); }, renderPasswordForm: function () { - this.$el.find('img.centered.spinner').remove(); + this.$el.find('span.centered.spinner').remove(); this.$el.find('.chat-body').append( $('
'+ '
'+ @@ -1388,7 +1388,7 @@ showDisconnectMessage: function (msg) { this.$el.find('.chat-area').remove(); this.$el.find('.participants').remove(); - this.$el.find('img.centered.spinner').remove(); + this.$el.find('span.centered.spinner').remove(); this.$el.find('.chat-body').append($('

'+msg+'

')); }, @@ -2509,7 +2509,7 @@ connection = new Strophe.Connection(converse.bosh_service_url); if ($form) { $button = $form.find('input[type=submit]'); - $button.hide().after(''); + $button.hide().after('