using another id

This commit is contained in:
s-pace
2018-11-07 18:05:54 +01:00
parent 03601528ec
commit f7b55aa35e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -67,7 +67,7 @@
<script type="text/javascript"> docsearch({
apiKey: '512b0d6c0c8578bed7662f5279c2249c',
indexName: 'python-guide',
inputSelector: '#q',
inputSelector: "#doc_search",
debug: false // Set debug to true if you want to inspect the dropdown
});
</script>
+1 -1
View File
@@ -5,7 +5,7 @@
</p>
<p style="margin-left:auto; margin-right: auto;"><iframe src="https://ghbtns.com/github-btn.html?user=realpython&repo=python-guide&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="200px" height="35px"></iframe></p>
<input placeholder="Search the doc" autofocus id="q" />
<input id="doc_search" placeholder="Search the doc" autofocus/>
<p>
This opinionated guide exists to provide both novice and expert Python developers a best practice handbook to the installation, configuration, and usage of Python on a daily basis.