Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
fix(webview): set user agent properly
Browse files Browse the repository at this point in the history
  • Loading branch information
herteleo committed Apr 20, 2019
1 parent f8ff8ac commit efbc469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TabWebview.vue
Expand Up @@ -28,7 +28,7 @@ export default {
return this.$store.getters['Notifications/preventOnBlur'];
},
userAgent() {
return this.item.userAgent || undefined;
return this.item.userAgent || navigator.userAgent;
},
windowHasFocus() {
return this.$store.getters['Window/hasFocus'];
Expand Down

0 comments on commit efbc469

Please sign in to comment.