From c3f02980a0e03c637aafe028bab76ef737d738ab Mon Sep 17 00:00:00 2001 From: Raj <44002319+rajmusuku@users.noreply.github.com> Date: Sun, 24 Feb 2019 19:31:42 -0800 Subject: [PATCH] Fix #3734 - Codecell content disappers when tabbing editors (#4153) --- src/sql/parts/notebook/cellViews/code.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sql/parts/notebook/cellViews/code.component.ts b/src/sql/parts/notebook/cellViews/code.component.ts index 2931ff0997..b16eca6695 100644 --- a/src/sql/parts/notebook/cellViews/code.component.ts +++ b/src/sql/parts/notebook/cellViews/code.component.ts @@ -194,7 +194,7 @@ export class CodeComponent extends AngularDisposable implements OnInit, OnChange this._editor.setHeightToScrollHeight(true); } })); - this._register(this.model.layoutChanged(() => this._layoutEmitter.fire, this)); + this._register(this.model.layoutChanged(() => this._layoutEmitter.fire(), this)); this.layout(); }