mirror of
https://github.com/ryanoasis/nerd-fonts.git
synced 2025-01-06 21:49:40 +02:00
Fix codepoint copy
This commit is contained in:
parent
8d09587e84
commit
b0c3f57348
2
site.js
2
site.js
@ -338,7 +338,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
}
|
||||
}
|
||||
} else if (parent.className.startsWith('column') && target.className === 'codepoint') {
|
||||
textToCopy = parent.parentNode.querySelector('.codepoint').innerText;
|
||||
textToCopy = target.innerText;
|
||||
}
|
||||
if (textToCopy.length > 0) {
|
||||
gtag('event', event.target.className, {
|
||||
|
Loading…
Reference in New Issue
Block a user