Skip to content

Commit

Permalink
fixing issue with multiple execution in console (elastic#26933) (elas…
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcconaghy authored Dec 11, 2018
1 parent 08ff0ef commit 68a8f5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/legacy/core_plugins/console/public/src/output.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 68a8f5b

Please sign in to comment.