Difference between revisions of "Template:ShanghaiTech/Header"

m
m
Line 145: Line 145:
 
   Toc.init({
 
   Toc.init({
 
   $nav: $('#mytoc'),
 
   $nav: $('#mytoc'),
   $scope: $('bodyContent')
+
   $scope:  
 
});
 
});
 
   $('body').scrollspy({
 
   $('body').scrollspy({
     target: navSelector
+
     target: '#mytoc'
 
   });
 
   });
  

Revision as of 06:20, 17 October 2018

ShanghaiTech iGEM