shower.runSlideshowIfPresented return Boolean

This commit is contained in:
miripiruni 2013-01-20 03:45:04 +04:00
parent 9e5035c5d4
commit ef5fba3cd3
1 changed files with 3 additions and 1 deletions

View File

@ -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) {
}, },
timing); timing);
} }
return true;
}; };
/** /**