Skip to content

Commit

Permalink
Changed BroadcastChannel detection
Browse files Browse the repository at this point in the history
  • Loading branch information
bootsie123 committed May 22, 2021
1 parent d4e8625 commit 902a122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
mounted() {
this.$root.$refs.gridLayout = this.$refs.gridLayout;
if (BroadcastChannel) {
if (window.BroadcastChannel) {
this.bc = new BroadcastChannel("F1-Web-Viewer");
this.bc.onmessage = e => {
Expand Down

0 comments on commit 902a122

Please sign in to comment.