diff options
author | 2021-10-20 10:49:47 +0530 | |
---|---|---|
committer | 2021-10-20 10:49:47 +0530 | |
commit | 9a64b4322adadbe18929c2da114eb0813426c4f9 (patch) | |
tree | e9dfa8b9e14b38720fa4487b7175ed26a8076da7 /src/models/UserAgent.js | |
parent | 5.6.3-nightly.38 [skip ci] (diff) | |
download | ferdium-app-9a64b4322adadbe18929c2da114eb0813426c4f9.tar.gz ferdium-app-9a64b4322adadbe18929c2da114eb0813426c4f9.tar.zst ferdium-app-9a64b4322adadbe18929c2da114eb0813426c4f9.zip |
Co-authored-by: Markus Hatvan <markus_hatvan@aon.at>
Diffstat (limited to 'src/models/UserAgent.js')
-rw-r--r-- | src/models/UserAgent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/UserAgent.js b/src/models/UserAgent.js index 02ff97db1..f971fb08a 100644 --- a/src/models/UserAgent.js +++ b/src/models/UserAgent.js | |||
@@ -37,7 +37,7 @@ export default class UserAgent { | |||
37 | if (typeof this.getUserAgent === 'function') { | 37 | if (typeof this.getUserAgent === 'function') { |
38 | return this.getUserAgent(); | 38 | return this.getUserAgent(); |
39 | } | 39 | } |
40 | const globalPref = window.ferdi.stores.settings.all.app.userAgentPref; | 40 | const globalPref = window['ferdi'].stores.settings.all.app.userAgentPref; |
41 | if (typeof globalPref === 'string') { | 41 | if (typeof globalPref === 'string') { |
42 | const trimmed = globalPref.trim(); | 42 | const trimmed = globalPref.trim(); |
43 | if (trimmed !== '') { | 43 | if (trimmed !== '') { |