Auto merge of #97489 - GuillaumeGomez:settings-js-disabled, r=notriddle
Add sentence in case JS is disabled on settings.html page Instead of having an empty page, it'll look like this:  r? `@notriddle`
This commit is contained in:
commit
855fc022fe
2 changed files with 11 additions and 0 deletions
|
|
@ -609,6 +609,11 @@ impl<'tcx> FormatRenderer<'tcx> for Context<'tcx> {
|
|||
</a>\
|
||||
</span>\
|
||||
</div>\
|
||||
<noscript>\
|
||||
<section>\
|
||||
You need to enable Javascript be able to update your settings.\
|
||||
</section>\
|
||||
</noscript>\
|
||||
<link rel=\"stylesheet\" type=\"text/css\" \
|
||||
href=\"{root_path}settings{suffix}.css\">\
|
||||
<script defer src=\"{root_path}settings{suffix}.js\"></script>",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue