From 6643c3706c38e2088d61d1135018ff68f8f4abc7 Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Tue, 8 Jul 2014 17:14:29 +0530 Subject: added tooltip to comment link --- custom.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/custom.js b/custom.js index b8c01b5..3f9968a 100644 --- a/custom.js +++ b/custom.js @@ -61,6 +61,8 @@ $([IPython.events]).on('notebook_loaded.Notebook', function(){ href: href, class: "question", target: "_blank", + "data-toggle": "tooltip", + title: "create/view comments for this example" }); $(this).prepend($link); count++; @@ -68,6 +70,8 @@ $([IPython.events]).on('notebook_loaded.Notebook', function(){ return; } }); + /* initializing tooltip */ + $(".question").tooltip(); }); /* hiding running/clusters links */ -- cgit