diff options
author | Dan <danjm.com@gmail.com> | 2017-10-05 23:44:45 +0800 |
---|---|---|
committer | Chi Kei Chan <chikeichan@gmail.com> | 2017-10-09 08:48:09 +0800 |
commit | bbe893a0d8d759ba750ba78ff8aed0f0876a43ff (patch) | |
tree | 4547defa401e36c5ca225d95d6939ce7c7d0f7c5 /app/scripts/lib | |
parent | 49aa6e73eadc5b343353c4312afc1e3b40dc18df (diff) | |
download | tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.tar tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.tar.gz tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.tar.bz2 tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.tar.lz tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.tar.xz tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.tar.zst tangerine-wallet-browser-bbe893a0d8d759ba750ba78ff8aed0f0876a43ff.zip |
UI for send screen container without form rows.
Diffstat (limited to 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/is-popup-or-notification.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/scripts/lib/is-popup-or-notification.js b/app/scripts/lib/is-popup-or-notification.js index 73a812d5f..e2999411f 100644 --- a/app/scripts/lib/is-popup-or-notification.js +++ b/app/scripts/lib/is-popup-or-notification.js @@ -1,6 +1,9 @@ module.exports = function isPopupOrNotification () { const url = window.location.href - if (url.match(/popup.html$/) || url.match(/home.html$/)) { + // if (url.match(/popup.html$/) || url.match(/home.html$/)) { + // Below regexes needed for feature toggles (e.g. see line ~340 in ui/app/app.js) + // Revert below regexes to above commented out regexes before merge to master + if (url.match(/popup.html(?:\?.+)*$/) || url.match(/home.html(?:\?.+)*$/)) { return 'popup' } else { return 'notification' |