Simple fixes

This commit is contained in:
Matias Pando 2014-12-05 11:56:26 -03:00
commit 6659b938b5
4 changed files with 10 additions and 26 deletions

View file

@ -2,13 +2,6 @@
angular.module('copayApp.controllers').controller('UnsupportedController',
function($scope, $location) {
var localStorage;
if (window.chrome && chrome.runtime && chrome.runtime.id) {
localStorage = chrome.storage.local;
} else {
localStorage = window.localStorage;
}
if (localStorage && localStorage.length > 0) {
$location.path('/');
}