mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 01:48:21 +02:00
JQuery is unable to cancel Turbolinks
This commit is contained in:
@ -183,10 +183,7 @@ $(document).ready(function () {
|
||||
|
||||
if (location.hash) { $('#type_' + location.hash.substr(1)).click() } else { type_transfer.click() }
|
||||
|
||||
$('#source_me').click(function (event) {
|
||||
// Prevent TurboLinks
|
||||
event.preventDefault();
|
||||
|
||||
$('#source_me').click(function () {
|
||||
if (LOCK) { return }
|
||||
|
||||
// Shortcut to set the current user as the only emitter
|
||||
|
Reference in New Issue
Block a user