User:Ronelm2000/Scripts/MobileTabber.js

$(function {   // Wait for the page to be parsed    $( document ).ready( function  { $( ".tabber ul").remove; $( ".tabber" ).each( function(tabberIndex, value) {			// Fixes multiple Tabbers in Template Error.						// Since we need non-duplicating ids for the CSS Tabs.			$(this).attr('id', $(this).prop('id') + '-' + tabberIndex);			$(this).find(".tabbertab").each( function(i) { var id = $(this).parent.prop('id'); var title = $(this).attr('title'); var checked = i <= 0; // console.log(`Parent ID: ${ id }`); // console.log(`Tabber-Tab Title: ${ title }`); $(this).before(					``+					`${title} `				); $(this).css('display',''); });		});   }); });