##// END OF EJS Templates
Pop output now removes a specific output
Jonathan Frederic -
Show More
@@ -145,8 +145,11 define([
145 145 /**
146 146 * @method pop_output_area
147 147 */
148 CodeCell.prototype.pop_output_area = function () {
149 this.active_output_area.pop();
148 CodeCell.prototype.pop_output_area = function (output_area) {
149 var index = this.active_output_area.lastIndexOf(output_area);
150 if (index > -1) {
151 this.active_output_area.splice(index, 1);
152 }
150 153 };
151 154
152 155 /**
General Comments 0
You need to be logged in to leave comments. Login now