fix tooltip cancel

pending tooltip from open-parenthesis was not being cancelled properly
This commit is contained in:
MinRK 2013-10-11 11:47:40 +02:00
parent 7ccb1bbc8a
commit 543b317d92

View File

@ -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 {