diff --git a/index.html b/index.html index 730cc4c3f0ae4e68bf66352cf919fd0c821fd608..2136527f88685d8cbfd8bfda8e451dc38459efc7 100644 --- a/index.html +++ b/index.html @@ -182,6 +182,9 @@ text-align: right; margin-top: 1rem; } + body.noscript .language-selection { + display: none; + } .language-selection > * { margin-left: 0.5em; } @@ -239,7 +242,7 @@ } </style> </head> - <body lang="en"> + <body lang="en" class="noscript"> <div class="page"> <nav> <div class="wrapper language-selection"> @@ -347,6 +350,8 @@ <script type="text/javascript" defer> (function () { + document.body.classList.remove("noscript"); + // In page navigation - for language switching document.body.addEventListener('click', function (ev) { if (!ev.target.href) return;