ElEditors, Interface administrators, Administrators
85,546
edits
mNo edit summary |
mNo edit summary |
||
Line 486: | Line 486: | ||
$(function(){ | $(function(){ | ||
$('h2').each(functino(){ | $('h2').each(functino(){ | ||
if($('h2.presistHeader') != | if($('h2.presistHeader') != [] && $(this).offset().top < $('h2.presistHeader').height()){ | ||
$('h2.presistHeader').removeClass('presistHeader'); | $('h2.presistHeader').removeClass('presistHeader'); | ||
} | } |