mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Use .ajaxLoad for spinner in input
This commit is contained in:
parent
94870c557e
commit
987482c590
@ -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');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -64,11 +64,6 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#chatInput {
|
||||
background-position: right center;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
|
||||
#chatOptions {
|
||||
display: inline-block;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user