shower.runSlideshowIfPresented return Boolean
This commit is contained in:
parent
9e5035c5d4
commit
ef5fba3cd3
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue