Skip to content

Commit 9107015

Browse files
committed
Fixed js evicted
1 parent 3aed36e commit 9107015

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

script.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,3 +399,9 @@ window.addEventListener('hashchange', () => {
399399
location.reload(); // Reload to show main page
400400
}
401401
});
402+
403+
// Recharger le script Highlight.js
404+
const script = document.createElement('script');
405+
script.src = 'https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js';
406+
script.onload = () => hljs.highlightAll();
407+
document.body.appendChild(script);

0 commit comments

Comments
 (0)