1
0
mirror of https://github.com/nextcloud/ocsms.git synced 2026-08-20 04:43:04 +00:00

HTML style & undef function fix

This commit is contained in:
Loic Blot
2016-09-19 22:39:08 +02:00
parent b9fba16893
commit 49cc81db8c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ app.controller('OcSmsController', ['$scope', '$interval', '$timeout', '$compile'
var len = $scope.contacts.length;
for (var i=0; i < len; i++) {
if ($scope.contacts[i]['nav'] == ct['nav']) {
$scope.apply(function () {
$scope.$apply(function () {
$scope.contacts[i].unread = ct.unread;
if (typeof(ct.avatar) != 'undefined') {
$scope.contacts[i].avatar = ct.avatar;