diff --git a/www/js/controllers/app-controllers.js b/www/js/controllers/app-controllers.js index 469b9482d9ed98d2013c3c81b1c30ea8e5e0c5f1..f4b19c1ab4792268b9e0974cf2a53bf6c6d9ae48 100644 --- a/www/js/controllers/app-controllers.js +++ b/www/js/controllers/app-controllers.js @@ -173,7 +173,7 @@ function AppController($scope, $rootScope, $state, $ionicSideMenuDelegate, $q, $ $scope.closeProfilePopover = function() { if ($scope.profilePopover && $scope.profilePopover.isShown()) { - $timeout(function(){$scope.profilePopover.hide()}); + $timeout(function(){$scope.profilePopover.hide();}); } }; diff --git a/www/js/services/network-services.js b/www/js/services/network-services.js index 6b529fedbdece32e26bd5926a83b126ecbcc659a..e30cfa953e9dbb0ea3c8efc364b059ada14325ea 100644 --- a/www/js/services/network-services.js +++ b/www/js/services/network-services.js @@ -59,7 +59,7 @@ angular.module('cesium.network.services', ['ngResource', 'ngApi', 'cesium.bma.se data.searchingPeersOnNetwork = true; data.updatingPeers = true; - var newPeers = [] + var newPeers = []; if (interval) { $interval.cancel(interval);