From 92d845adc3c07bcea290eb6fefe0a998cd8f7a98 Mon Sep 17 00:00:00 2001 From: André Oliveira <37463445+SpecialAro@users.noreply.github.com> Date: Thu, 2 May 2024 17:38:48 +0100 Subject: fix: screenshare feature not working on Teams (#1733) --- src/webview/recipe.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/webview/recipe.ts') 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 { NotificationsHandler, notificationsClassDefinition, } from './notifications'; -import { - getDisplayMediaSelector, - screenShareCss, - screenShareJs, -} from './screenshare'; +import { getDisplayMediaSelector, screenShareJs } from './screenshare'; import SessionHandler from './sessionHandler'; import { getSpellcheckerLocaleByFuzzyIdentifier, @@ -267,7 +263,6 @@ class RecipeController { async loadUserFiles(recipe, config) { const styles = document.createElement('style'); - styles.innerHTML = screenShareCss; const userCss = join(recipe.path, 'user.css'); if (pathExistsSync(userCss)) { -- cgit v1.2.3-70-g09d2