1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 09:58:23 +02:00

Fix I'm the emitter button

This commit is contained in:
Alexandre Iooss
2020-09-06 21:38:55 +02:00
parent 48407cacf8
commit 89b2ff52e3
3 changed files with 6 additions and 4 deletions

View File

@ -183,7 +183,10 @@ $(document).ready(function () {
if (location.hash) { $('#type_' + location.hash.substr(1)).click() } else { type_transfer.click() }
$('#source_me').click(function () {
$('#source_me').click(function (event) {
// Prevent TurboLinks
event.preventDefault();
if (LOCK) { return }
// Shortcut to set the current user as the only emitter