From c65cd7251854acf9c375d217faf04de09e1ccdac Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Mon, 11 Jun 2018 18:53:48 +0200 Subject: [PATCH] :lipstick: --- .../platform/widget/browser/contextScopedHistoryWidget.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/vs/platform/widget/browser/contextScopedHistoryWidget.ts b/src/vs/platform/widget/browser/contextScopedHistoryWidget.ts index bfcd8826be1..c98eea4b962 100644 --- a/src/vs/platform/widget/browser/contextScopedHistoryWidget.ts +++ b/src/vs/platform/widget/browser/contextScopedHistoryWidget.ts @@ -35,8 +35,7 @@ export class ContextScopedHistoryInputBox extends HistoryInputBox { @IContextKeyService contextKeyService: IContextKeyService ) { super(container, contextViewProvider, options); - const { scopedContextKeyService } = createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, { target: this.element, historyNavigator: this }); - this._register(scopedContextKeyService); + this._register(createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, { target: this.element, historyNavigator: this }).scopedContextKeyService); } } @@ -47,8 +46,7 @@ export class ContextScopedFindInput extends FindInput { @IContextKeyService contextKeyService: IContextKeyService ) { super(container, contextViewProvider, options); - const { scopedContextKeyService } = createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, { target: this.inputBox.element, historyNavigator: this.inputBox }); - this._register(scopedContextKeyService); + this._register(createAndBindHistoryNavigationWidgetScopedContextKeyService(contextKeyService, { target: this.inputBox.element, historyNavigator: this.inputBox }).scopedContextKeyService); } } -- GitLab