feat: do not run Tabber script if it is already activated

This commit is contained in:
alistair3149 2022-04-21 16:35:23 -04:00
parent 2d86edc3c1
commit 3454f7b2ce
No known key found for this signature in database
GPG key ID: 94D081060FD3DD9C

View file

@ -353,7 +353,7 @@ function initTabber( tabber, count ) {
} }
function main() { function main() {
var tabbers = document.querySelectorAll( '.tabber' ); var tabbers = document.querySelectorAll( '.tabber:not( .tabber--live )' );
if ( tabbers ) { if ( tabbers ) {
var count = 0; var count = 0;