diff --git a/file/js/TimWolla.WCF.Chat.js b/file/js/TimWolla.WCF.Chat.js index b6d01aa..f69d5a5 100644 --- a/file/js/TimWolla.WCF.Chat.js +++ b/file/js/TimWolla.WCF.Chat.js @@ -188,14 +188,14 @@ if (typeof TimWolla.WCF == 'undefined') TimWolla.WCF = {}; }, type: 'POST', beforeSend: $.proxy(function (jqXHR) { - submitButton.attr('src', WCF.Icon.get('wcf.icon.loading')); + submitButton.addClass('ajaxLoad'); }), success: $.proxy(function (data, textStatus, jqXHR) { this.getMessages(); $('#chatInput').val('').focus(); }, this), complete: function() { - submitButton.attr('src', WCF.Icon.get('wcf.icon.toRight1')); + submitButton.removeClass('ajaxLoad'); } }); }, diff --git a/template/chat.tpl b/template/chat.tpl index 01cba8d..bc4b609 100644 --- a/template/chat.tpl +++ b/template/chat.tpl @@ -64,11 +64,6 @@ text-align: center; } - #chatInput { - background-position: right center; - background-repeat: no-repeat; - } - #chatOptions { display: inline-block; }