Difference between revisions of "Template:NYMU-Taipei/newtemplate1"

Line 497: Line 497:
 
     }
 
     }
 
borders.shift();
 
borders.shift();
borders.push(borders[-1]+100000);
+
borders.push(borders[borders.length-1]+100000);
 
     $(window).scroll(function(){
 
     $(window).scroll(function(){
 
console.log(borders);  
 
console.log(borders);  

Revision as of 13:58, 12 July 2018