##// END OF EJS Templates
HTML and JavaScript output KBM event handling.
Brian E. Granger -
Show More
@@ -509,6 +509,7 b' var IPython = (function (IPython) {'
509 509
510 510 OutputArea.prototype.append_html = function (html, md, element) {
511 511 var toinsert = this.create_output_subarea(md, "output_html rendered_html");
512 IPython.keyboard_manager.register_events(toinsert);
512 513 toinsert.append(html);
513 514 element.append(toinsert);
514 515 };
@@ -517,6 +518,7 b' var IPython = (function (IPython) {'
517 518 OutputArea.prototype.append_javascript = function (js, md, container) {
518 519 // We just eval the JS code, element appears in the local scope.
519 520 var element = this.create_output_subarea(md, "output_javascript");
521 IPython.keyboard_manager.register_events(element);
520 522 container.append(element);
521 523 try {
522 524 eval(js);
General Comments 0
You need to be logged in to leave comments. Login now