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
parent 53c06a3625
commit 759015e5fd
6 changed files with 88 additions and 85 deletions
+6 -3
View File
@@ -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>