Removed many "limit 1" at update and delete queries since they were superflous und generated massiv logfile entries
This commit is contained in:
vanhempi
53c06a3625
kommitti
759015e5fd
6 muutettua tiedostoa joissa 88 lisäystä ja 85 poistoa
|
@ -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>
|
||||
|
||||
|
|
Ladataan…
Lisää taulukko
Lisää linkki
Viittaa uudessa ongelmassa