diff options
Diffstat (limited to 'recipes/jira/index.js')
-rw-r--r-- | recipes/jira/index.js | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/recipes/jira/index.js b/recipes/jira/index.js index ba77d96..e625d83 100644 --- a/recipes/jira/index.js +++ b/recipes/jira/index.js | |||
@@ -1,5 +1,8 @@ | |||
1 | module.exports = (Ferdium) => class Jira extends Ferdium { | 1 | module.exports = Ferdium => |
2 | overrideUserAgent() { | 2 | class Jira extends Ferdium { |
3 | return window.navigator.userAgent.replace(/(Ferdium|Electron)\/\S+ \([^)]+\)/g, '').trim(); | 3 | overrideUserAgent() { |
4 | } | 4 | return window.navigator.userAgent |
5 | }; | 5 | .replaceAll(/(Ferdium|Electron)\/\S+ \([^)]+\)/g, '') |
6 | .trim(); | ||
7 | } | ||
8 | }; | ||