Commit ef5fba3c authored by miripiruni's avatar miripiruni

shower.runSlideshowIfPresented return Boolean

parent 9e5035c5
...@@ -513,7 +513,7 @@ window.shower = (function(window, document, undefined) { ...@@ -513,7 +513,7 @@ window.shower = (function(window, document, undefined) {
/** /**
* Run slide show if presented. * Run slide show if presented.
* @param {Number} slideNumber * @param {Number} slideNumber
* @returns {Undefined} * @returns {Boolean}
*/ */
shower.runSlideshowIfPresented = function(slideNumber) { shower.runSlideshowIfPresented = function(slideNumber) {
if ( ! shower._isNumber(slideNumber)) { if ( ! shower._isNumber(slideNumber)) {
...@@ -536,6 +536,8 @@ window.shower = (function(window, document, undefined) { ...@@ -536,6 +536,8 @@ window.shower = (function(window, document, undefined) {
}, },
timing); timing);
} }
return true;
}; };
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment