From 4f24dcd0a2d725dd441abfd434b3eddf73544ade Mon Sep 17 00:00:00 2001 From: Mike Weerdenburg Date: Wed, 13 Feb 2013 21:45:11 +0100 Subject: [PATCH] Update js/bjqs-1.3.js [BJQS] B: If only one slide is available, disable automatic animation, this because otherwise you will see the image 'flicker' every x seconds. --- js/bjqs-1.3.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/bjqs-1.3.js b/js/bjqs-1.3.js index e134e89..f06e7b2 100755 --- a/js/bjqs-1.3.js +++ b/js/bjqs-1.3.js @@ -144,6 +144,9 @@ conf_slide(); } + } else { + // Stop automatic animation, because we only have one slide! + settings.automatic = false; } if(settings.usecaptions){ @@ -713,4 +716,4 @@ }; -})(jQuery); \ No newline at end of file +})(jQuery);