projects
/
Portfolio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6623514
)
bugfix. ménage.
author
Benoît Pin
<benoit.pin@gmail.com>
Sun, 3 Aug 2014 08:21:45 +0000
(10:21 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Sun, 3 Aug 2014 08:21:45 +0000
(10:21 +0200)
skins/photo_film_viewer.js
patch
|
blob
|
history
diff --git
a/skins/photo_film_viewer.js
b/skins/photo_film_viewer.js
index
f1f650d
..
b86e94d
100644
(file)
--- a/
skins/photo_film_viewer.js
+++ b/
skins/photo_film_viewer.js
@@
-750,12
+750,11
@@
FilmSlider.prototype.startThumbnailsLoadQueue = function(evt) {
}
if (leftSize > rightSize) {
for (i = this.center - rightSize - 1 ; i >= 0 ; i--) {
- console.log(i);
this.thumbnailsLoadingOrder.push(thumbnails[i]);
}
}
else if (leftSize < rightSize) {
- for (i = this.center + leftSize ; i < thumbnails.length ; i++) {
+ for (i = this.center + leftSize
+ 1
; i < thumbnails.length ; i++) {
this.thumbnailsLoadingOrder.push(thumbnails[i]);
}
}