git.schokokeks.org
Repositories
Help
Report an Issue
bibweb.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
dada448
Branches
Tags
master
bibweb.git
assets
notification.js
Änderungen 2024 und Cookie für local-Mode
Bernd Wurst
commited
dada448
at 2025-09-08 07:04:48
notification.js
Blame
History
Raw
function email_click( event ) { email = $('#btn-email').text().split(' an ').pop() $('#notification').val('email:'+email); $('form').submit(); event.preventDefault(); } function whatsapp_click( event ) { number = $('#btn-whatsapp').text().split(' an ').pop() $('#notification').val('whatsapp:'+number); $('form').submit(); event.preventDefault(); } function sms_click( event ) { number = $('#btn-sms').text().split(' an ').pop() $('#notification').val('sms:'+number); $('form').submit(); event.preventDefault(); } $(function () { $('#btn-email').click(email_click); $('#btn-sms').click(sms_click); $('#btn-whatsapp').click(whatsapp_click); });