Show More
@@ -603,7 +603,8 b' var IPython = (function (IPython) {' | |||
|
603 | 603 | |
|
604 | 604 | OutputArea.prototype.append_png = function (png, md, element, type) { |
|
605 | 605 | var toinsert = this.create_output_subarea(md, "output_png", type); |
|
606 | var img = $("<img/>").attr('src','data:image/png;base64,'+png); | |
|
606 | var img = $("<img/>"); | |
|
607 | img[0].attr('src','data:image/png;base64,'+png); | |
|
607 | 608 | if (md['height']) { |
|
608 | 609 | img[0].setAttribute('height', md['height']); |
|
609 | 610 | } |
General Comments 0
You need to be logged in to leave comments.
Login now