1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2025-06-14 16:43:37 +02:00

Examples and anchors on website

This commit is contained in:
Philipp Heckel 2021-11-18 09:22:33 -05:00
parent ba2f6e08cd
commit 6d7fec5337
8 changed files with 159 additions and 20 deletions
server/static/js

View file

@ -338,6 +338,7 @@ if (match) {
}
}
// Add anchor links
document.querySelectorAll('.anchor').forEach((el) => {
if (el.hasAttribute('id')) {
const id = el.getAttribute('id');