implement URL on random elements in js file rather than inline

This commit is contained in:
Oleg Belyaev 2025-03-23 11:23:32 +03:00
parent f2a1c15951
commit 0b4fd5f468
2 changed files with 15 additions and 4 deletions

View file

@ -1,4 +1,9 @@
$( document ).ready(function() {
// Link elements that do not have href out of the box
$('.link').on("click", function () {
window.location=$(this)[0].dataset.href+window.location.search+window.location.hash;
});
function bindMapOpen() {
// $('#modal_map').data('abv-entry',$(this).data('abv-entry'));
// $('#modal_map')[0].showModal();