Difference between revisions of "Template:Toronto/Javascript"

Line 13: Line 13:
  
 
  $(window).scroll(function() {   
 
  $(window).scroll(function() {   
if($(".testtext").is(":visible"){
+
if($(".testtext:visible"){
 
       $("#menutest").addClass(".menufixed");
 
       $("#menutest").addClass(".menufixed");
 
}
 
}

Revision as of 18:25, 8 August 2016