Show More
@@ -625,12 +625,15 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 |
|
||||
630 | // Fix the output div's height |
|
|||
631 | var height = this.element.height(); |
|
|||
632 | this.element.height(height); |
|
|||
633 |
|
628 | |||
|
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) { | |||
|
632 | var height = this.element.height(); | |||
|
633 | this.element.height(height); | |||
|
634 | this.clear_queued = false; | |||
|
635 | } | |||
|
636 | ||||
634 | // clear all, no need for logic |
|
637 | // clear all, no need for logic | |
635 | this.element.html(""); |
|
638 | this.element.html(""); | |
636 | this.outputs = []; |
|
639 | this.outputs = []; |
General Comments 0
You need to be logged in to leave comments.
Login now