Book page and review form
This commit is contained in:
parent
32f305e285
commit
61fa15a0c2
6 changed files with 96 additions and 62 deletions
|
@ -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', '');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue