Fix thumb scrolling on videos

patches
Jerome Charaoui 2013-12-22 03:01:50 -05:00
parent 315b03f737
commit 10a31bbd1e
1 changed files with 0 additions and 1 deletions

View File

@ -100,7 +100,6 @@ $(document).ready(function() {
image = $("<img title=\"" + photoFloat.trimExtension(currentAlbum.photos[i].name) + "\" alt=\"" + photoFloat.trimExtension(currentAlbum.photos[i].name) + "\" src=\"" + photoFloat.photoPath(currentAlbum, currentAlbum.photos[i], 150, true) + "\" height=\"150\" width=\"150\" />");
if (currentAlbum.photos[i].mediaType == "video")
image.css("background-image", "url(" + image.attr("src") + ")").attr("src", "img/video-icon.png");
else
image.get(0).photo = currentAlbum.photos[i];
link.append(image);
photos.push(link);