Fixed deleted user num
This commit is contained in:
parent
b0d62c9b2c
commit
c1fbd7ca13
@ -217,7 +217,6 @@ angular.module('myApp.directives', ['myApp.filters'])
|
||||
.appendTo('body')
|
||||
.on('load', function () {
|
||||
twttr.events.bind('loaded', function (event) {
|
||||
console.log('loaded');
|
||||
for (var i = 0; i < twitterPendingWidgets.length; i++) {
|
||||
twitterPendingWidgets[i].$emit('ui_height');
|
||||
}
|
||||
|
@ -115,7 +115,7 @@ angular.module('myApp.services', ['myApp.i18n', 'izhukov.utils'])
|
||||
if (angular.isObject(id)) {
|
||||
return id;
|
||||
}
|
||||
return users[id] || {id: id, deleted: true};
|
||||
return users[id] || {id: id, deleted: true, num: 1};
|
||||
}
|
||||
|
||||
function hasUser(id) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user