fix save in Firefox

This commit is contained in:
Matias Alejo Garcia 2014-07-07 17:30:42 -03:00
parent d4c9c87076
commit 93bbc68f5f
1 changed files with 6 additions and 1 deletions

View File

@ -73,6 +73,11 @@ angular.module('copayApp.controllers').controller('SettingsController',
unitToSatoshi: $scope.selectedUnit.value,
}));
$window.location.href = $window.location.origin + $window.location.pathname;
var target = ($window.location.origin !== 'null' ? $window.location.origin : '') + $window.location.pathname;
console.log('[settings.js.76:target:]', target); //TODO
$window.location.href = target;
};
});