|
|
@ -219,10 +219,12 @@ $(document).ready(function(){ |
|
|
|
|
|
|
|
return false; |
|
|
|
}; |
|
|
|
|
|
|
|
$(window).scroll(function() { |
|
|
|
recheck_activated(); |
|
|
|
|
|
|
|
|
|
|
|
$(post).on('submit', function(e){ |
|
|
|
poll_current_time = poll_interval_mindelay; |
|
|
|
}); |
|
|
|
|
|
|
|
$(window).scrollStopped(function() { |
|
|
|
// if the newest post is not visible
|
|
|
|
if($(this).scrollTop() + $(this).height() < |
|
|
|
$('div.post').last().position().top + $('div.post').last().height()) { |
|
|
|