Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Apr 3, 2019
1 parent 4d1cb56 commit 4bd9301
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 4bd9301

Please sign in to comment.