From 8413ba95928fca740cb176a74163fa50f3d3bb19 Mon Sep 17 00:00:00 2001 From: Min RK Date: Wed, 17 May 2017 15:54:07 -0700 Subject: [PATCH] =?UTF-8?q?don=E2=80=99t=20start=20output=20areas=20collap?= =?UTF-8?q?sed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this sets metadata.collapsed = true metadata on cells with no output causing churn in notebook files --- notebook/static/notebook/js/outputarea.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebook/static/notebook/js/outputarea.js b/notebook/static/notebook/js/outputarea.js index 71c7b5726..be1ffa89d 100644 --- a/notebook/static/notebook/js/outputarea.js +++ b/notebook/static/notebook/js/outputarea.js @@ -77,7 +77,7 @@ define([ this.prompt_overlay.addClass('out_prompt_overlay prompt'); this.prompt_overlay.attr('title', 'click to expand output; double click to hide output'); - this.collapse(); + this.expand(); }; /** @@ -976,6 +976,7 @@ define([ this._display_id_targets = {}; this.trusted = true; this.unscroll_area(); + this.expand(); return; } };