diff --git a/IPython/html/static/notebook/js/tooltip.js b/IPython/html/static/notebook/js/tooltip.js index 4cfadf666..983aca4aa 100644 --- a/IPython/html/static/notebook/js/tooltip.js +++ b/IPython/html/static/notebook/js/tooltip.js @@ -221,11 +221,9 @@ var IPython = (function (IPython) { }; Tooltip.prototype._request_tooltip = function (cell, line) { - var callbacks = { shell : { - reply : $.proxy(this._show, this) - }}; + var callbacks = $.proxy(this._show, this); var oir_token = this.extract_oir_token(line); - var msg_id = cell.kernel.object_info_request(oir_token, callbacks); + var msg_id = cell.kernel.object_info(oir_token, callbacks); }; // make an imediate completion request