From 54e8e059a3d31fcb297558bd4c76f92b9faba6fe Mon Sep 17 00:00:00 2001 From: make-github-pseudonymous-again <5165674+make-github-pseudonymous-again@users.noreply.github.com> Date: Sun, 16 Oct 2022 21:57:28 +0200 Subject: [PATCH] :books: docs: Update doc/scripts/header.js. --- doc/scripts/header.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/scripts/header.js b/doc/scripts/header.js index 0b666d6..82ff3f4 100644 --- a/doc/scripts/header.js +++ b/doc/scripts/header.js @@ -7,10 +7,10 @@ const domReady = function (callback) { } }; -domReady(function () { +domReady(() => { const projectname = document.createElement('a'); projectname.classList.add('project-name'); - projectname.text = 'codec-bytes/base16'; + projectname.text = '@codec-bytes/base16'; projectname.href = './index.html'; const header = document.querySelector('header'); @@ -24,7 +24,7 @@ domReady(function () { const input = document.querySelector('.search-input'); // Active search box when focus on searchBox. - input.addEventListener('focus', function () { + input.addEventListener('focus', () => { searchBox.classList.add('active'); }); });