Line 13: | Line 13: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
− | if($(".testtext | + | if($(".testtext:visible"){ |
$("#menutest").addClass(".menufixed"); | $("#menutest").addClass(".menufixed"); | ||
} | } |
Revision as of 18:25, 8 August 2016