aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/info.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-07-01 12:22:39 +0800
committerDan Finlay <dan@danfinlay.com>2016-07-01 12:22:39 +0800
commitd33d4f065492d32df35c8eb72a7c51b74bf4b155 (patch)
tree8f7788329475f00dedf2039364862a6bd4fe298b /ui/app/info.js
parentaa21c83470d2fa89a5dc09a49c7ab83cf4e87ad7 (diff)
parentd4e400e5e5a7ba501f210b722f6ccf97be9e6c17 (diff)
downloadtangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.tar
tangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.tar.gz
tangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.tar.bz2
tangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.tar.lz
tangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.tar.xz
tangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.tar.zst
tangerine-wallet-browser-d33d4f065492d32df35c8eb72a7c51b74bf4b155.zip
Merge branch 'master' into FrankieDisclaimer
Diffstat (limited to 'ui/app/info.js')
-rw-r--r--ui/app/info.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/ui/app/info.js b/ui/app/info.js
index a473f5921..d97998fd7 100644
--- a/ui/app/info.js
+++ b/ui/app/info.js
@@ -17,7 +17,13 @@ function InfoScreen () {
InfoScreen.prototype.render = function () {
var state = this.props
- var manifest = chrome.runtime.getManifest()
+ var manifest
+ try {
+ manifest = chrome.runtime.getManifest()
+ } catch (e) {
+ manifest = { version: '2.0.0' }
+ }
+
return (
h('.flex-column.flex-grow', [