mirror of
https://github.com/openvk/openvk
synced 2024-12-23 00:51:03 +03:00
Messages: Add loading animation white sending message
This commit is contained in:
parent
b731cb4c87
commit
1a436a8575
1 changed files with 2 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="time" align="right">
|
<div class="time" align="right">
|
||||||
<span data-bind="text: timing.sent"></span>
|
<span data-bind="html: timing.sent"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -213,6 +213,7 @@
|
||||||
|
|
||||||
newMessage(content) {
|
newMessage(content) {
|
||||||
let msg = this._newSelfMessage(content);
|
let msg = this._newSelfMessage(content);
|
||||||
|
msg.timing.sent = "<img src=\"/assets/packages/static/openvk/img/loading_mini.gif\">";
|
||||||
this.addMessage(msg);
|
this.addMessage(msg);
|
||||||
|
|
||||||
return msg._tuid;
|
return msg._tuid;
|
||||||
|
|
Loading…
Reference in a new issue