Difference between revisions of "Team:NTHU Formosa"

Line 348: Line 348:
 
       // Get anchor url var currentUrl = document.URL,
 
       // Get anchor url var currentUrl = document.URL,
 
       var urlParts = document.URL.split('#');
 
       var urlParts = document.URL.split('#');
       if urlParts.length > 1 {
+
       if (urlParts.length > 1) {
 
         var anchor = urlParts[1];
 
         var anchor = urlParts[1];
  

Revision as of 05:02, 10 October 2018