aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/webex/chromeBadge.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/webex/chromeBadge.ts b/src/webex/chromeBadge.ts
index beb1dc444..15b68ef02 100644
--- a/src/webex/chromeBadge.ts
+++ b/src/webex/chromeBadge.ts
@@ -18,6 +18,8 @@ import {
Badge,
} from "../walletTypes";
+import { isFirefox } from "./compat";
+
/**
* Polyfill for requestAnimationFrame, which
@@ -190,6 +192,10 @@ export class ChromeBadge implements Badge {
if (this.animationRunning) {
return;
}
+ if (isFirefox()) {
+ // Firefox does not support badge animations properly
+ return;
+ }
this.animationRunning = true;
let start: number|undefined;
const step = (timestamp: number) => {