Line 992: | Line 992: | ||
if (e){ | if (e){ | ||
e.preventDefault(); | e.preventDefault(); | ||
− | + | ||
+ | $(function () { | ||
+ | $('[data-spy="scroll"]').each(function () { | ||
+ | var $spy = $(this) | ||
+ | $spy.scrollspy($spy.data()) | ||
+ | }) | ||
+ | }) | ||
+ | |||
+ | |||
var target = $(this).attr("href"); | var target = $(this).attr("href"); | ||
}else{ | }else{ |
Revision as of 23:25, 30 October 2017