1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-04 20:08:05 +01:00
mkdocs-material/material/templates/partials/javascripts/content.html

7 lines
477 B
HTML
Raw Normal View History

{#-
This file was automatically generated - do not edit
-#}
{% if "content.tabs.link" in features %}
<script>var tabs=__md_get("__tabs");if(Array.isArray(tabs))e:for(var set of document.querySelectorAll(".tabbed-set")){var tab,labels=set.querySelector(".tabbed-labels");for(tab of tabs)for(var label of labels.getElementsByTagName("label"))if(label.innerText.trim()===tab){var input=document.getElementById(label.htmlFor);input.checked=!0;continue e}}</script>
{% endif %}