Check if browser support localStorage
This commit is contained in:
parent
f63e17eaf3
commit
2de0382520
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ angular
|
|||
.run(function($rootScope, $location, $idle) {
|
||||
$idle.watch();
|
||||
$rootScope.$on('$routeChangeStart', function(event, next, current) {
|
||||
if (!util.supports.data) {
|
||||
if (!localStorage || localStorage.length < 1) {
|
||||
$location.path('unsupported');
|
||||
} else {
|
||||
if ((!$rootScope.wallet || !$rootScope.wallet.id) && next.validate) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue