Line 992: | Line 992: | ||
if (e){ | if (e){ | ||
e.preventDefault(); | e.preventDefault(); | ||
− | + | $("body").scrollspy({target: "#myScrollspy", offset:100}); | |
var target = $(this).attr("href"); | var target = $(this).attr("href"); | ||
}else{ | }else{ |
Revision as of 23:19, 30 October 2017