1
0
mirror of synced 2025-12-25 02:17:36 -05:00

Fix a bunch of random typos (#17129)

Co-authored-by: Chiedo John <2156688+chiedo@users.noreply.github.com>
This commit is contained in:
Kevin Heis
2021-01-05 08:07:27 -08:00
committed by GitHub
parent 69c86379f0
commit d7eb248a10
15 changed files with 24 additions and 24 deletions

View File

@@ -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