Files
compiler-explorer/views/noscript/languages.pug
Mats Jun Larsen 47e8e6d3a7 Replace href=javascript:; with bootstrap link class (#7797)
Fixes #7792

Bootstrap styles `a:has([href])` as a link so the attribute had been
used in the past for things that aren't actually links, yet we want the
style for. It's better to just use `.link-primary` so it doesn't affect
the contents as discovered in #7792
2025-06-13 02:43:14 +09:00

10 lines
428 B
Plaintext

block header
nav.bg-light
if mobileViewer
a.btn.link-primary.nodropdown-toggle#languageDropdown(role="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false") Language
.noscriptdropdown(aria-labelledby="languageDropdown")
each language in languages
a.dropdown-item.language-option(href=`${httpRoot}noscript/${language.id}` title=language.name)= language.name
|