summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-08 17:14:29 +0530
committerJayaram R Pai2014-07-08 17:14:29 +0530
commit6643c3706c38e2088d61d1135018ff68f8f4abc7 (patch)
treec1d2719bd5534581397c403018df7f4fb94a4261
parentc144962e84804639e96baa591d1c1ecb2b034e06 (diff)
downloadcustom-master.tar.gz
custom-master.tar.bz2
custom-master.zip
added tooltip to comment linkHEADmaster
-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 */