From d90429366b30eb2ddb6a87cba4a2732be1815de4 Mon Sep 17 00:00:00 2001 From: Matthias BUSSONNIER Date: Wed, 23 Oct 2013 15:58:32 +0200 Subject: [PATCH] Remove tooltip on tab logic --- IPython/html/static/notebook/js/codecell.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index b823fa2de..1074892e5 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -209,12 +209,6 @@ var IPython = (function (IPython) { // Don't autocomplete if the part of the line before the cursor // is empty. In this case, let CodeMirror handle indentation. return false; - } else if ((pre_cursor.substr(-1) === "("|| pre_cursor.substr(-1) === " ") && IPython.config.tooltip_on_tab ) { - IPython.tooltip.request(that); - // Prevent the event from bubbling up. - event.stop(); - // Prevent CodeMirror from handling the tab. - return true; } else { event.stop(); this.completer.startCompletion(); @@ -438,4 +432,4 @@ var IPython = (function (IPython) { IPython.CodeCell = CodeCell; return IPython; -}(IPython)); \ No newline at end of file +}(IPython));