diff options
Diffstat (limited to 'src/models/UserAgent.js')
-rw-r--r-- | src/models/UserAgent.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/models/UserAgent.js b/src/models/UserAgent.js index f971fb08a..caacb6797 100644 --- a/src/models/UserAgent.js +++ b/src/models/UserAgent.js | |||
@@ -2,7 +2,7 @@ import { action, computed, observe, observable } from 'mobx'; | |||
2 | 2 | ||
3 | import defaultUserAgent from '../helpers/userAgent-helpers'; | 3 | import defaultUserAgent from '../helpers/userAgent-helpers'; |
4 | 4 | ||
5 | const debug = require('debug')('Ferdi:UserAgent'); | 5 | const debug = require('debug')('Ferdium:UserAgent'); |
6 | 6 | ||
7 | export default class UserAgent { | 7 | export default class UserAgent { |
8 | _willNavigateListener = null; | 8 | _willNavigateListener = null; |
@@ -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['ferdium'].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 !== '') { |