summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom.js4
1 files changed, 4 insertions, 0 deletions
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 */