From c5e2b2ee784f9c472738be3dce4dbc9a2ba7088f Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 27 Jul 2014 17:17:42 -0700 Subject: [PATCH] this fixes the extra errors in the gallery (when leaving an unplayable video) --- src/Images/Gallery.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Images/Gallery.coffee b/src/Images/Gallery.coffee index 9e34d23a8..1d121e071 100644 --- a/src/Images/Gallery.coffee +++ b/src/Images/Gallery.coffee @@ -156,7 +156,7 @@ Gallery = file.src = name.href = @href $.extend file.dataset, @dataset - nodes.current.pause?() + nodes.current.pause?() unless nodes.current.error $.replace nodes.current, file if elType is 'video' file.loop = true