Fixed typing on loading
This commit is contained in:
parent
86ba087b97
commit
eb29e89a06
@ -1229,6 +1229,7 @@ angular.module('myApp.controllers', ['myApp.i18n'])
|
||||
if (prerenderedLen && (maxID || backLimit)) {
|
||||
prerenderedLen = 0;
|
||||
peerHistory.messages = [];
|
||||
$scope.state.empty = true;
|
||||
}
|
||||
|
||||
var curJump = ++jump,
|
||||
|
@ -121,7 +121,7 @@
|
||||
|
||||
<div class="im_history_typing_wrap">
|
||||
|
||||
<div class="im_history_typing" ng-show="historyState.typing.length > 0 && !historyFilter.mediaType && state.loaded" ng-switch="historyState.typing.length" my-i18n>
|
||||
<div class="im_history_typing" ng-show="historyState.typing.length > 0 && !historyFilter.mediaType && !state.empty" ng-switch="historyState.typing.length" my-i18n>
|
||||
<span ng-switch-when="1" my-i18n-format="im_one_typing"></span>
|
||||
<span ng-switch-when="2" my-i18n-format="im_two_typing"></span>
|
||||
<span ng-switch-default my-i18n-format="im_many_typing"></span>
|
||||
|
Loading…
Reference in New Issue
Block a user