implement URL on random elements in js file rather than inline
This commit is contained in:
parent
f2a1c15951
commit
0b4fd5f468
2 changed files with 15 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue