From ef5fba3cd38bf5d6fb570a8ae27cb84eb19471cb Mon Sep 17 00:00:00 2001 From: miripiruni Date: Sun, 20 Jan 2013 03:45:04 +0400 Subject: [PATCH] shower.runSlideshowIfPresented return Boolean --- shower.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shower.js b/shower.js index b013371..23ce92b 100755 --- a/shower.js +++ b/shower.js @@ -513,7 +513,7 @@ window.shower = (function(window, document, undefined) { /** * Run slide show if presented. * @param {Number} slideNumber - * @returns {Undefined} + * @returns {Boolean} */ shower.runSlideshowIfPresented = function(slideNumber) { if ( ! shower._isNumber(slideNumber)) { @@ -536,6 +536,8 @@ window.shower = (function(window, document, undefined) { }, timing); } + + return true; }; /**