Chrome App fixes
This commit is contained in:
parent
5bfbf64778
commit
5b0e5f51db
7 changed files with 24 additions and 49 deletions
|
|
@ -4,8 +4,6 @@ angular.module('copayApp.controllers').controller('HeadController', function($sc
|
|||
$scope.username = $rootScope.iden.getName();
|
||||
$scope.hoverMenu = false;
|
||||
|
||||
console.log('$scope.username', $scope.username);
|
||||
|
||||
$scope.hoverIn = function() {
|
||||
this.hoverMenu = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -5,10 +5,8 @@ angular.module('copayApp.controllers').controller('UnsupportedController',
|
|||
|
||||
var localStorage;
|
||||
if (window.chrome && chrome.runtime && chrome.runtime.id) {
|
||||
console.log('Is a chrome app!..unssoported.js');
|
||||
localStorage = chrome.storage.local;
|
||||
} else {
|
||||
console.log('Is web!');
|
||||
localStorage = window.localStorage;
|
||||
}
|
||||
if (localStorage && localStorage.length > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue