fixing application reload

This commit is contained in:
Matias Alejo Garcia 2014-12-06 22:41:03 -03:00
commit a115a6d17a
3 changed files with 6 additions and 5 deletions

View file

@ -5,7 +5,7 @@ angular.module('copayApp.services')
var isChromeApp = window.chrome && chrome.runtime && chrome.runtime.id;
root.restart = function() {
if (window.cordova !== undefined) {
if (1 || window.cordova !== undefined) {
$rootScope.iden = $rootScope.wallet = undefined;
// NOP. no need to restart on cordova apps.
$location.path('/');