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

@ -11,8 +11,7 @@ angular.module('copayApp.services')
// Go home reloading the application
var hashIndex = window.location.href.indexOf('#!/');
if (isChromeApp) {
console.log('isChromeApp restting ');
chrome.runtime.restart();
chrome.runtime.reload();
} else {
window.location = window.location.href.substr(0, hashIndex);
}