aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2021-01-01 22:09:14 -0500
committerRapptz <[email protected]>2021-01-01 22:09:14 -0500
commitc793737e6462cf0d4432fce11e43a45378f9fcb7 (patch)
treece1db75427808036c2c8cb49601395586cd6a1a1
parentFix SyntaxError from PR implementing presences in member querying (diff)
downloaddiscord.py-c793737e6462cf0d4432fce11e43a45378f9fcb7.tar.xz
discord.py-c793737e6462cf0d4432fce11e43a45378f9fcb7.zip
Fix search not working on mobile
-rw-r--r--docs/_templates/layout.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
index fe02e8ac..1d6de6d3 100644
--- a/docs/_templates/layout.html
+++ b/docs/_templates/layout.html
@@ -67,7 +67,7 @@
<a onclick="mobileSearch.close();" title="{{ _('Close') }}" id="close-search" class="mobile-only" hidden><span class="material-icons">close</span></a>
</nav>
<nav class="mobile-only">
- <form role="search" class="search" action="search.html" method="get">
+ <form role="search" class="search" action="{{ pathto('search') }}" method="get">
<div class="search-wrapper">
<input type="search" name="q" placeholder="{{ _('Search documentation') }}" />
<button type="submit">