Chrome App fixes

This commit is contained in:
Matias Pando 2014-12-04 17:59:02 -03:00
commit 5b0e5f51db
7 changed files with 24 additions and 49 deletions

View file

@ -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;
};

View file

@ -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) {