##// END OF EJS Templates
Don't preserve height when clear_output(wait=False) is called
Jonathan Frederic -
Show More
@@ -625,11 +625,14 b' var IPython = (function (IPython) {'
625
625
626 this.clear_queued = true;
626 this.clear_queued = true;
627 } else {
627 } else {
628 this.clear_queued = false;
629
628
630 // Fix the output div's height
629 // Fix the output div's height if the clear_output is waiting for
630 // new output (it is being used in an animation).
631 if (this.clear_queued) {
631 var height = this.element.height();
632 var height = this.element.height();
632 this.element.height(height);
633 this.element.height(height);
634 this.clear_queued = false;
635 }
633
636
634 // clear all, no need for logic
637 // clear all, no need for logic
635 this.element.html("");
638 this.element.html("");
General Comments 0
You need to be logged in to leave comments. Login now