From 543b317d92fa57bf9826c59080e35eea184b45ad Mon Sep 17 00:00:00 2001 From: MinRK Date: Fri, 11 Oct 2013 11:47:40 +0200 Subject: [PATCH] fix tooltip cancel pending tooltip from open-parenthesis was not being cancelled properly --- IPython/html/static/notebook/js/tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/static/notebook/js/tooltip.js b/IPython/html/static/notebook/js/tooltip.js index 66db57e7c..2f845f805 100644 --- a/IPython/html/static/notebook/js/tooltip.js +++ b/IPython/html/static/notebook/js/tooltip.js @@ -167,12 +167,12 @@ var IPython = (function (IPython) { // note that we don't handle closing directly inside the calltip // as in the completer, because it is not focusable, so won't // get the event. + this.cancel_pending(); if (!this._hidden) { if (force || !this._sticky) { this.cancel_stick(); this._hide(); } - this.cancel_pending(); this.reset_tabs_function(); return true; } else {