From 439b736ad45d61250f549a76d487b331b6a5ff4e Mon Sep 17 00:00:00 2001 From: Bill McConaghy Date: Tue, 11 Dec 2018 08:50:25 -0500 Subject: [PATCH] fixing issue with multiple execution in console (#26933) --- src/legacy/core_plugins/console/public/src/output.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/legacy/core_plugins/console/public/src/output.js b/src/legacy/core_plugins/console/public/src/output.js index 16dbfc063c374..1c2781e13333e 100644 --- a/src/legacy/core_plugins/console/public/src/output.js +++ b/src/legacy/core_plugins/console/public/src/output.js @@ -58,8 +58,6 @@ export function initializeOutput($el) { const lastLine = session.getLength(); if (foldPrevious) { output.moveCursorTo(Math.max(0, lastLine - 1), 0); - session.toggleFold(false); - } session.insert({ row: lastLine, column: 0 }, '\n' + val); output.moveCursorTo(lastLine + 1, 0);