We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29b5c8 commit 54e8e05Copy full SHA for 54e8e05
doc/scripts/header.js
@@ -7,10 +7,10 @@ const domReady = function (callback) {
7
}
8
};
9
10
-domReady(function () {
+domReady(() => {
11
const projectname = document.createElement('a');
12
projectname.classList.add('project-name');
13
- projectname.text = 'codec-bytes/base16';
+ projectname.text = '@codec-bytes/base16';
14
projectname.href = './index.html';
15
16
const header = document.querySelector('header');
@@ -24,7 +24,7 @@ domReady(function () {
24
const input = document.querySelector('.search-input');
25
26
// Active search box when focus on searchBox.
27
- input.addEventListener('focus', function () {
+ input.addEventListener('focus', () => {
28
searchBox.classList.add('active');
29
});
30
0 commit comments