Commit 09b72633 authored by Vadim Makeev's avatar Vadim Makeev

Action slide classes renamed, fixes #105

parent f780dfe3
......@@ -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');
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment