mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-03 09:58:30 +02:00
@@ -106,4 +106,14 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||
if (document.getElementById('TableOfContents') && document.querySelector('.qdrant-post__body')) {
|
||||
new TableOfContents('#TableOfContents', '.qdrant-post__body');
|
||||
}
|
||||
|
||||
document.querySelectorAll('.card__content-link').forEach((link) => {
|
||||
link.addEventListener('click', (e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
const url = link.dataset.href;
|
||||
window.history.pushState({}, '', url);
|
||||
window.location.href = url;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user