Skip to content

Commit

Permalink
fixing issue with multiple execution in console (elastic#26933)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcconaghy committed Dec 11, 2018
1 parent 17b6fc7 commit 8e0aa81
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 8e0aa81

Please sign in to comment.