aboutsummaryrefslogtreecommitdiff
path: root/src/webex/compat.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-02-20 15:12:45 +0100
committerFlorian Dold <florian.dold@gmail.com>2018-02-20 15:12:45 +0100
commit6aa929f2a7dfb4264bbcb05e77e91984d3441cae (patch)
tree65d7c71c19d1491688e51399520ae4094a5166f4 /src/webex/compat.ts
parentaa4757355a29dff097a7c56937f28f7c632767f7 (diff)
downloadwallet-core-6aa929f2a7dfb4264bbcb05e77e91984d3441cae.tar.xz
Fix redirect for Firefox on Android
Diffstat (limited to 'src/webex/compat.ts')
-rw-r--r--src/webex/compat.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/webex/compat.ts b/src/webex/compat.ts
index f532c43bc..30ffd4a81 100644
--- a/src/webex/compat.ts
+++ b/src/webex/compat.ts
@@ -14,15 +14,15 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
- /**
- * Compatibility helpers needed for browsers that don't implement
- * WebExtension APIs consistently.
- */
+/**
+* Compatibility helpers needed for browsers that don't implement
+* WebExtension APIs consistently.
+*/
- export function isFirefox(): boolean {
- const rt = chrome.runtime as any;
- if (typeof rt.getBrowserInfo === "function") {
- return true;
- }
- return false;
- }
+export function isFirefox(): boolean {
+ const rt = chrome.runtime as any;
+ if (typeof rt.getBrowserInfo === "function") {
+ return true;
+ }
+ return false;
+}