diff options
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 !== '') { |