Action slide classes renamed, fixes #105

This commit is contained in:
Vadim Makeev 2013-01-20 03:23:33 +04:00
parent f780dfe308
commit 09b7263377
1 changed files with 6 additions and 6 deletions

View File

@ -436,14 +436,14 @@ window.shower = (function(window, document, undefined) {
slide = document.getElementById(slideList[i].id);
if (i < slideNumber) {
slide.classList.remove('current');
slide.classList.add('passed');
slide.classList.remove('active');
slide.classList.add('visited');
} else if (i > slideNumber) {
slide.classList.remove('passed');
slide.classList.remove('current');
slide.classList.remove('visited');
slide.classList.remove('active');
} else {
slide.classList.remove('passed');
slide.classList.add('current');
slide.classList.remove('visited');
slide.classList.add('active');
}
}