Difference between revisions of "Team:Cambridge-JIC/Templates/Menu"

Line 119: Line 119:
 
hr=$(this).attr("href");
 
hr=$(this).attr("href");
  
if(hr && hr.match(/\/\/2015/g) && !hr.match(/http:/g)) {
+
if(hr \&\& hr.match(/\/\/2015/g) \&\& !hr.match(/http:/g)) {
  
 
if(~window.location.indexOf(hr)){
 
if(~window.location.indexOf(hr)){

Revision as of 00:04, 4 August 2015