aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorbrunobar79 <brunobar79@gmail.com>2018-07-31 10:57:05 +0800
committerbrunobar79 <brunobar79@gmail.com>2018-07-31 10:57:05 +0800
commitedb154749d468299166e41e56d23beb781817cbc (patch)
treed3b3c808aa8aef68e149e6819488896e0f1e9cfd /app/scripts
parentb673a7a7fc66f1582ddb7cd94b32548a58a87670 (diff)
downloadtangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.tar
tangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.tar.gz
tangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.tar.bz2
tangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.tar.lz
tangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.tar.xz
tangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.tar.zst
tangerine-wallet-browser-edb154749d468299166e41e56d23beb781817cbc.zip
send to fullscreen if no permission from popup
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/platforms/extension.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/scripts/platforms/extension.js b/app/scripts/platforms/extension.js
index 0803164e8..71b162dd0 100644
--- a/app/scripts/platforms/extension.js
+++ b/app/scripts/platforms/extension.js
@@ -24,8 +24,13 @@ class ExtensionPlatform {
return extension.runtime.getManifest().version
}
- openExtensionInBrowser (route = null) {
+ openExtensionInBrowser (route = null, queryString = null) {
let extensionURL = extension.runtime.getURL('home.html')
+
+ if (queryString) {
+ extensionURL += `?${queryString}`
+ }
+
if (route) {
extensionURL += `#${route}`
}