Book page and review form

This commit is contained in:
Mouse Reeve
2020-09-29 11:00:54 -07:00
parent 32f305e285
commit 61fa15a0c2
6 changed files with 96 additions and 62 deletions

View File

@ -47,9 +47,9 @@ function tabChange(e) {
var tabs = target.parentElement.children;
for (i = 0; i < tabs.length; i++) {
if (tabs[i].getAttribute('data-id') == identifier) {
tabs[i].className += ' active';
tabs[i].className += ' is-active';
} else {
tabs[i].className = tabs[i].className.replace('active', '');
tabs[i].className = tabs[i].className.replace('is-active', '');
}
}