only update timeline src if image has index(ignore loading icon and others), fixes #2709

This commit is contained in:
j 2015-03-13 07:09:20 +00:00
parent 46d0dcf2e3
commit 1cbaee2d67

View file

@ -851,7 +851,7 @@ Ox.VideoTimelinePlayer = function(options, self) {
function updateTimeline() {
self.$timelinePlayer.find('img').each(function() {
var $this = $(this);
$this.attr({
$this.data('index') && $this.attr({
src: self.options.getLargeTimelineURL(
self.options.timeline, $this.data('index')
)