aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib
diff options
context:
space:
mode:
authorCsaba S <csaba.solya@gmail.com>2018-07-21 02:09:57 +0800
committerGitHub <noreply@github.com>2018-07-21 02:09:57 +0800
commitc11dea9afc9f4215529abda11a0d5a7e4fdd10d4 (patch)
tree9a21c102490c3a9c751c606008d1e0c10b20cdc2 /app/scripts/lib
parent682d59cfe0114dc987fe5e953e9db4dca5e2b5d7 (diff)
parentcb045fd8feec88bd631329ab9b3285aeed0f2e97 (diff)
downloadtangerine-wallet-browser-c11dea9afc9f4215529abda11a0d5a7e4fdd10d4.tar.gz
tangerine-wallet-browser-c11dea9afc9f4215529abda11a0d5a7e4fdd10d4.tar.zst
tangerine-wallet-browser-c11dea9afc9f4215529abda11a0d5a7e4fdd10d4.zip
Merge branch 'develop' into transaction-notifications
Diffstat (limited to 'app/scripts/lib')
-rw-r--r--app/scripts/lib/util.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/scripts/lib/util.js b/app/scripts/lib/util.js
index 431d1e59c..51e9036cc 100644
--- a/app/scripts/lib/util.js
+++ b/app/scripts/lib/util.js
@@ -28,7 +28,7 @@ function getStack () {
*
*/
const getEnvironmentType = (url = window.location.href) => {
- if (url.match(/popup.html(?:\?.+)*$/)) {
+ if (url.match(/popup.html(?:#.*)*$/)) {
return ENVIRONMENT_TYPE_POPUP
} else if (url.match(/home.html(?:\?.+)*$/) || url.match(/home.html(?:#.*)*$/)) {
return ENVIRONMENT_TYPE_FULLSCREEN