Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts')
-rw-r--r--src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts
index 8581f7b8975..2ace93d21b5 100644
--- a/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts
+++ b/src/vs/workbench/contrib/webview/electron-browser/webviewEditorService.ts
@@ -220,7 +220,7 @@ export class WebviewEditorService implements IWebviewEditorService {
// Revived webviews may not have an actively registered reviver but we still want to presist them
// since a reviver should exist when it is actually needed.
- return !(webview instanceof RevivedWebviewEditorInput);
+ return webview instanceof RevivedWebviewEditorInput;
}
private async tryRevive(