diff options
author | brunobar79 <brunobar79@gmail.com> | 2018-07-31 10:57:05 +0800 |
---|---|---|
committer | brunobar79 <brunobar79@gmail.com> | 2018-07-31 10:57:05 +0800 |
commit | edb154749d468299166e41e56d23beb781817cbc (patch) | |
tree | d3b3c808aa8aef68e149e6819488896e0f1e9cfd /app/scripts | |
parent | b673a7a7fc66f1582ddb7cd94b32548a58a87670 (diff) | |
download | tangerine-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.js | 7 |
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}` } |