We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0937b8 commit 9094b4fCopy full SHA for 9094b4f
src/jupyter_contrib_nbextensions/nbextensions/toc2/toc2.js
@@ -23,7 +23,8 @@ function removeMathJaxPreview(elt) {
23
24
var make_link = function(h, num_lbl) {
25
var a = $("<a/>");
26
- a.attr("href", '#' + h.attr('id'));
+ a.attr("href", window.location.origin + window.location.pathname + '#' + h.attr('id'));
27
+ // a.attr("href", h.find('.anchor-link').attr('href'));
28
// get the text *excluding* the link text, whatever it may be
29
var hclone = h.clone();
30
hclone = removeMathJaxPreview(hclone);
0 commit comments