added a simple callback on change if using the public method shower.go()

This commit is contained in:
Lorenzo Giuliani 2012-10-05 14:45:47 +02:00
parent 786b12ed4f
commit a68a7b5ca1
1 changed files with 3 additions and 0 deletions

View File

@ -118,6 +118,9 @@ window.shower = (function () {
if (!_.isListMode()) {
_.updateProgress(slideNumber);
}
if (typeof _.onchange == 'function')
_.onchange(slideNumber);
}
function getContainingSlideId(el) {