##// END OF EJS Templates
dblclick to unconfine on images in html output
Min RK -
Show More
@@ -588,6 +588,7 b' define(['
588 588 var toinsert = this.create_output_subarea(md, "output_html rendered_html", type);
589 589 this.keyboard_manager.register_events(toinsert);
590 590 toinsert.append(html);
591 dblclick_to_reset_size(toinsert.find('img'));
591 592 element.append(toinsert);
592 593 return toinsert;
593 594 };
@@ -603,6 +604,7 b' define(['
603 604 html = mathjaxutils.replace_math(html, math);
604 605 toinsert.append(html);
605 606 });
607 dblclick_to_reset_size(toinsert.find('img'));
606 608 element.append(toinsert);
607 609 return toinsert;
608 610 };
@@ -668,7 +670,7 b' define(['
668 670 return toinsert;
669 671 };
670 672
671 dblclick_to_reset_size = function (img) {
673 function dblclick_to_reset_size (img) {
672 674 /**
673 675 * Double-click on an image toggles confinement to notebook width
674 676 *
General Comments 0
You need to be logged in to leave comments. Login now