Fingerprint JS as well

This commit is contained in:
2025-01-21 19:48:57 +01:00
parent bc1123dcea
commit 09ab2aad5c
2 changed files with 6 additions and 2 deletions

View File

@@ -1,18 +0,0 @@
$(function() {
$(".tsc-gallery-img a").click(function(ev){
// console.debug(ev)
const url = ev.currentTarget.dataset.url
console.debug(url)
$('#overlay').removeClass('hidden')
$('#overlay .img img').attr('src', url)
})
$('#overlay .background, #overlay .spacer').click(function(ev) {
$('#overlay').addClass('hidden')
$('#overlay .img img').attr('src', '')
})
// $('#overlay').on('keydown', function(ev){
// if(ev.keyCode === 27) {
// console.log('closing')
// }
// })
})