Simple fixes
This commit is contained in:
parent
5b0e5f51db
commit
6659b938b5
4 changed files with 10 additions and 26 deletions
|
|
@ -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('/');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue