Fix a bunch of random typos (#17129)
Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
This commit is contained in:
@@ -53,7 +53,7 @@ const resultTemplate = (item) => {
|
||||
</div>
|
||||
`
|
||||
|
||||
// Santize the link's href attribute using the DOM API to prevent XSS
|
||||
// Sanitize the link's href attribute using the DOM API to prevent XSS
|
||||
const fragment = document.createRange().createContextualFragment(html)
|
||||
fragment.querySelector('a').setAttribute('href', item.modifiedURL)
|
||||
const div = document.createElement('div')
|
||||
@@ -69,7 +69,7 @@ export default function () {
|
||||
const opts = {
|
||||
|
||||
// https://www.algolia.com/apps/ZI5KPY1HBE/dashboard
|
||||
// This API key is public. There's also a private API key for writing to the Aloglia API
|
||||
// This API key is public. There's also a private API key for writing to the Algolia API
|
||||
searchClient: algoliasearch('ZI5KPY1HBE', '685df617246c3a10abba589b4599288f'),
|
||||
|
||||
// There's an index for every version/language combination
|
||||
|
||||
Reference in New Issue
Block a user