Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 4bfd722

Browse files
authored
Merge pull request #8371 from magento/js-lint-fixes
Fixing jslint errors
2 parents df69840 + 6d5de98 commit 4bfd722

File tree

3 files changed

+527
-525
lines changed

3 files changed

+527
-525
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
// When loaded, this script finds all link elements that point to the glossary
1+
// When loaded, this script finds all link elements that point to the glossary
22
// and applies the glossary-term style
33
//
44
// TODO: Use this script to add pop up functionality when the following issue
55
// is resolved: https://github.com/magento/glossary/issues/13
66

7-
document.querySelectorAll("a").forEach(element => {
8-
if (element.href.indexOf("glossary.magento.com") > -1) {
9-
element.className = "glossary-term";
7+
document.querySelectorAll('a').forEach(element => {
8+
if (element.href.indexOf('glossary.magento.com') > -1) {
9+
element.className = 'glossary-term'
1010
}
11-
});
11+
})

0 commit comments

Comments
 (0)