diff options
| author | James Knight <james.d.knight@live.com> | 2021-09-06 23:44:35 -0400 |
|---|---|---|
| committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2021-09-11 17:04:57 +0900 |
| commit | e01d914dbd2688e759d90201c18365be967c64b3 (patch) | |
| tree | 7355dd55e693b5a80756ecc4dd44e645100fdcb6 /doc/development/tutorials/examples | |
| parent | 293beecc06c2aca930ca8ed659adad0fc2e33832 (diff) | |
| download | sphinx-git-e01d914dbd2688e759d90201c18365be967c64b3.tar.gz | |
themes: use noscript for search js notification
The "search.html" template will generate a warning admonition about
requiring JavaScript for search and automatically hiding the element
when supported. While functional, if a client renders the page slowly,
the warning notification may be visible to the user for a moment.
Instead of relying on JavaScript to suppress this warning, use a
`noscript` tag to hide the warning for clients who do not support
JavaScript. This also has the benefit of one less JavaScript call
required by a client.
Signed-off-by: James Knight <james.d.knight@live.com>
Diffstat (limited to 'doc/development/tutorials/examples')
0 files changed, 0 insertions, 0 deletions
