tracker: fix singletab initialization

This commit is contained in:
nick-delirium 2025-01-27 15:00:35 +01:00
parent 778112c751
commit fbfd0a9854
No known key found for this signature in database
GPG key ID: 93ABD695DF5FDBA0
4 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,7 @@
## 15.0.5
- update medv/finder to 4.0.2 for better support of css-in-js libs
- fixes for single tab recording
## 15.0.4

View file

@ -1,7 +1,7 @@
{
"name": "@openreplay/tracker",
"description": "The OpenReplay tracker main package",
"version": "15.0.6",
"version": "15.0.5-beta.0",
"keywords": [
"logging",
"replay"

View file

@ -347,6 +347,8 @@ export default class App {
) {
const host = location.hostname.split('.').slice(-2).join('_')
this.bc = new BroadcastChannel(`rick_${host}`)
} else if (this.options.forceSingleTab) {
this.allowAppStart()
}
this.revID = this.options.revID