diff options
author | 2024-05-02 17:38:48 +0100 | |
---|---|---|
committer | 2024-05-02 17:38:48 +0100 | |
commit | 92d845adc3c07bcea290eb6fefe0a998cd8f7a98 (patch) | |
tree | 1133efe2b1bd9f678cf912bb83f87e8e005bf1f1 /src/webview/recipe.ts | |
parent | Upgrade electron to '30.0.2' (diff) | |
download | ferdium-app-92d845adc3c07bcea290eb6fefe0a998cd8f7a98.tar.gz ferdium-app-92d845adc3c07bcea290eb6fefe0a998cd8f7a98.tar.zst ferdium-app-92d845adc3c07bcea290eb6fefe0a998cd8f7a98.zip |
fix: screenshare feature not working on Teams (#1733)
Diffstat (limited to 'src/webview/recipe.ts')
-rw-r--r-- | src/webview/recipe.ts | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/webview/recipe.ts b/src/webview/recipe.ts index d6db39779..a35a99699 100644 --- a/src/webview/recipe.ts +++ b/src/webview/recipe.ts | |||
@@ -32,11 +32,7 @@ import { | |||
32 | NotificationsHandler, | 32 | NotificationsHandler, |
33 | notificationsClassDefinition, | 33 | notificationsClassDefinition, |
34 | } from './notifications'; | 34 | } from './notifications'; |
35 | import { | 35 | import { getDisplayMediaSelector, screenShareJs } from './screenshare'; |
36 | getDisplayMediaSelector, | ||
37 | screenShareCss, | ||
38 | screenShareJs, | ||
39 | } from './screenshare'; | ||
40 | import SessionHandler from './sessionHandler'; | 36 | import SessionHandler from './sessionHandler'; |
41 | import { | 37 | import { |
42 | getSpellcheckerLocaleByFuzzyIdentifier, | 38 | getSpellcheckerLocaleByFuzzyIdentifier, |
@@ -267,7 +263,6 @@ class RecipeController { | |||
267 | 263 | ||
268 | async loadUserFiles(recipe, config) { | 264 | async loadUserFiles(recipe, config) { |
269 | const styles = document.createElement('style'); | 265 | const styles = document.createElement('style'); |
270 | styles.innerHTML = screenShareCss; | ||
271 | 266 | ||
272 | const userCss = join(recipe.path, 'user.css'); | 267 | const userCss = join(recipe.path, 'user.css'); |
273 | if (pathExistsSync(userCss)) { | 268 | if (pathExistsSync(userCss)) { |