JQuery is unable to cancel Turbolinks
This commit is contained in:
parent
89b2ff52e3
commit
27aa2e9da8
2 changed files with 2 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue