Stop duplicates by using .one() on button-links - issue #56
This commit is contained in:
parent
20deb02d1c
commit
9a26f51f1c
|
|
@ -517,7 +517,8 @@ $(function() {
|
||||||
$("#addJobConfirmation").dialog('open');
|
$("#addJobConfirmation").dialog('open');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".button-link").click(function() {
|
// Issue #56 - try to stop doubleclicks on button-links.
|
||||||
|
$(".button-link").one('click', function() {
|
||||||
location.href = $(this).data('href');
|
location.href = $(this).data('href');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue