diff --git a/shower.js b/shower.js index 8298c23..c3b7f99 100755 --- a/shower.js +++ b/shower.js @@ -374,7 +374,7 @@ window.shower = window.shower || (function(window, document, undefined) { /** * Show next slide or show next Inner navigation item. - * Returns false on a last slide, otherwise returns shown slide number. + * Returns false on a last slide, otherwise returns shower. * @param {Function} [callback] runs only if shower.next() is successfully completed. * @returns {Boolean} */ @@ -393,7 +393,7 @@ window.shower = window.shower || (function(window, document, undefined) { callback(); } - return true; + return this; }; /**