should fix click on close works when sticky

This commit is contained in:
Matthias BUSSONNIER 2012-03-18 21:37:36 +01:00 committed by Brian Granger
parent d2f803bff2
commit 5064568730

View File

@ -77,7 +77,7 @@ var IPython = (function (IPython) {
closespan.addClass('ui-icon-close');
closelink.append(closespan);
closelink.click(function(){
that.hide();
that.remove_and_cancel_tooltip(true);
});
//construct the tooltip