From cbcb7e91c51832479410038024ec82ea04cbdfa3 Mon Sep 17 00:00:00 2001 From: miripiruni Date: Fri, 3 May 2013 20:52:31 +0400 Subject: [PATCH] Shower::next: right JSDoc --- shower.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }; /**