From 9d09f0cf5e2a3ae901900ade6ec55c06e535111d 2013-10-17 21:06:17 From: Min RK Date: 2013-10-17 21:06:17 Subject: [PATCH] Merge pull request #4377 from minrk/fix-cancel fix tooltip cancel pending tooltip from open-parenthesis was not being cancelled properly --- diff --git a/IPython/html/static/notebook/js/tooltip.js b/IPython/html/static/notebook/js/tooltip.js index 48bce09..d7e6abf 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 {