Skip to content

Commit 54e8e05

Browse files
📚 docs: Update doc/scripts/header.js.
1 parent e29b5c8 commit 54e8e05

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/scripts/header.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ const domReady = function (callback) {
77
}
88
};
99

10-
domReady(function () {
10+
domReady(() => {
1111
const projectname = document.createElement('a');
1212
projectname.classList.add('project-name');
13-
projectname.text = 'codec-bytes/base16';
13+
projectname.text = '@codec-bytes/base16';
1414
projectname.href = './index.html';
1515

1616
const header = document.querySelector('header');
@@ -24,7 +24,7 @@ domReady(function () {
2424
const input = document.querySelector('.search-input');
2525

2626
// Active search box when focus on searchBox.
27-
input.addEventListener('focus', function () {
27+
input.addEventListener('focus', () => {
2828
searchBox.classList.add('active');
2929
});
3030
});

0 commit comments

Comments
 (0)