bugfix : « Il en manque une ! ».
authorBenoît Pin <benoit.pin@gmail.com>
Fri, 11 Jul 2014 05:44:47 +0000 (07:44 +0200)
committerBenoît Pin <benoit.pin@gmail.com>
Fri, 11 Jul 2014 05:44:47 +0000 (07:44 +0200)
skins/photo_lightbox_viewer.js

index 23f6f77..c649dc2 100644 (file)
@@ -373,7 +373,7 @@ Lightbox.prototype.fetchTail = function() {
        
        var url = absolute_url() +
                          '/portfolio_thumbnails_tail?start:int=' +
        
        var url = absolute_url() +
                          '/portfolio_thumbnails_tail?start:int=' +
-                         String(this.slides.length + 1 ) +
+                         String(this.slides.length) +
                          '&size:int=10';
        req.open('GET', url, true);
        req.send();
                          '&size:int=10';
        req.open('GET', url, true);
        req.send();