Merge pull request #1564 from cmgustavo/bug/01-redir
redid to / if browser is supported
This commit is contained in:
commit
1d546e5898
2 changed files with 10 additions and 1 deletions
9
js/controllers/unsupported.js
Normal file
9
js/controllers/unsupported.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('copayApp.controllers').controller('UnsupportedController',
|
||||
function($scope, $location) {
|
||||
if (localStorage && localStorage.length > 0) {
|
||||
$location.path('/');
|
||||
}
|
||||
}
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue