diff options
Diffstat (limited to 'uncompressed/jira/index.js')
-rw-r--r-- | uncompressed/jira/index.js | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/uncompressed/jira/index.js b/uncompressed/jira/index.js index 9edb279..0431300 100644 --- a/uncompressed/jira/index.js +++ b/uncompressed/jira/index.js | |||
@@ -1,8 +1,11 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | module.exports = Franz => class Jira extends Franz { | 3 | module.exports = (Franz) => |
4 | overrideUserAgent() { | 4 | class Jira extends Franz { |
5 | return window.navigator.userAgent.replace(/(Franz|Electron)([^\s]+\s)/g, ''); | 5 | overrideUserAgent() { |
6 | } | 6 | return window.navigator.userAgent.replace( |
7 | 7 | /(Ferdi|Electron)\/\S+ \([^)]+\)/g, | |
8 | }; \ No newline at end of file | 8 | "" |
9 | ); | ||
10 | } | ||
11 | }; | ||