redid to / if browser is supported
This commit is contained in:
parent
c7ace2f7bb
commit
473cc68cbc
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('/');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
<div class="wide-page">
|
<div class="wide-page" ng-controller="UnsupportedController">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<img src="img/logo-negative-beta.svg" alt="Copay" width="146" height="59">
|
<img src="img/logo-negative-beta.svg" alt="Copay" width="146" height="59">
|
||||||
<div class="text-white" ng-include="'views/includes/version.html'"></div>
|
<div class="text-white" ng-include="'views/includes/version.html'"></div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue