##// END OF EJS Templates
Add logic to close tt when cell is unselected
Jonathan Frederic -
Show More
@@ -557,6 +557,18 b' var IPython = (function (IPython) {'
557 557 return data;
558 558 };
559 559
560 /**
561 * handle cell level logic when a cell is unselected
562 * @method unselect
563 * @return is the action being taken
564 */
565 CodeCell.prototype.unselect = function () {
566 var cont = Cell.prototype.unselect.apply(this);
567 if (cont) {
568 IPython.tooltip.close();
569 }
570 return cont;
571 };
560 572
561 573 IPython.CodeCell = CodeCell;
562 574
General Comments 0
You need to be logged in to leave comments. Login now