From 10a31bbd1ed3879b8024cef49449b49a5856563b Mon Sep 17 00:00:00 2001 From: Jerome Charaoui Date: Sun, 22 Dec 2013 03:01:50 -0500 Subject: [PATCH] Fix thumb scrolling on videos --- web/js/011-display.js | 1 - 1 file changed, 1 deletion(-) diff --git a/web/js/011-display.js b/web/js/011-display.js index 09831ed..d452237 100644 --- a/web/js/011-display.js +++ b/web/js/011-display.js @@ -100,7 +100,6 @@ $(document).ready(function() { image = $("\"""); 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);