diff options
author | 2021-07-31 15:28:23 +0530 | |
---|---|---|
committer | 2021-07-31 15:28:23 +0530 | |
commit | 97697e3d069972844b2912a93022f4a4904a40d6 (patch) | |
tree | 53faff30fbac9d72042f593dfe1c547809f4f121 /recipes/jitsi/index.js | |
parent | Allow any url in the custom-service to allow for sites like 'http://translate... (diff) | |
download | ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.gz ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.tar.zst ferdium-recipes-97697e3d069972844b2912a93022f4a4904a40d6.zip |
Fixed eslintrc as root for this folder; Reformatted all files.
Diffstat (limited to 'recipes/jitsi/index.js')
-rw-r--r-- | recipes/jitsi/index.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes/jitsi/index.js b/recipes/jitsi/index.js index 6e3a728..8de4268 100644 --- a/recipes/jitsi/index.js +++ b/recipes/jitsi/index.js | |||
@@ -1,6 +1,5 @@ | |||
1 | "use strict"; | ||
2 | module.exports = Franz => class Jitsi extends Franz { | 1 | module.exports = Franz => class Jitsi extends Franz { |
3 | overrideUserAgent() { | 2 | overrideUserAgent() { |
4 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); | 3 | return window.navigator.userAgent.replace(/(Ferdi|Electron)\/\S+ \([^)]+\)/g, '').trim(); |
5 | } | 4 | } |
6 | } \ No newline at end of file | 5 | }; |