mirror of
https://github.com/StarCitizenTools/mediawiki-extensions-TabberNeue.git
synced 2024-11-11 17:02:05 +00:00
feat: do not run Tabber script if it is already activated
This commit is contained in:
parent
2d86edc3c1
commit
3454f7b2ce
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue