don't show tooltip if object is not found

closes #4875
This commit is contained in:
MinRK 2014-01-25 17:24:14 -08:00
parent 64421304c0
commit a7bd321648

View File

@ -303,6 +303,10 @@ var IPython = (function (IPython) {
// move the bubble if it is not hidden
// otherwise fade it
var content = reply.content;
if (!content.found) {
// object not found, nothing to show
return;
}
this.name = content.name;
// do some math to have the tooltip arrow on more or less on left or right