1
1
Forkkaa 0

Removed many "limit 1" at update and delete queries since they were superflous und generated massiv logfile entries

This commit is contained in:
Michael Vogel 2013-11-02 16:13:11 +01:00
vanhempi 53c06a3625
kommitti 759015e5fd
6 muutettua tiedostoa joissa 88 lisäystä ja 85 poistoa

Näytä tiedosto

@ -494,10 +494,13 @@ var num = $pageno;
$(window).scroll(function(e){
//if ($(window).scrollTop() == $(document).height() - $(window).height()){
if ($(window).scrollTop() > $("section").height() - $(window).height()){
// First method that is expected to work - but has problems with Chrome
if ($(window).scrollTop() == $(document).height() - $(window).height())
loadcontent();
// This method works with Chrome
if ($(window).scrollTop() > (($("section").height() + $("header").height() + $("footer").height()) - $(window).height()))
loadcontent();
}
});
</script>