diff options
author | Csaba S <csaba.solya@gmail.com> | 2018-07-21 02:09:57 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 02:09:57 +0800 |
commit | c11dea9afc9f4215529abda11a0d5a7e4fdd10d4 (patch) | |
tree | 9a21c102490c3a9c751c606008d1e0c10b20cdc2 /app/scripts/lib | |
parent | 682d59cfe0114dc987fe5e953e9db4dca5e2b5d7 (diff) | |
parent | cb045fd8feec88bd631329ab9b3285aeed0f2e97 (diff) | |
download | tangerine-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.js | 2 |
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 |