N°3657 - Replace calls to deprecate jQuery methods (".click(callback)" to ".on('click', callback)")

This commit is contained in:
Molkobain
2021-03-15 09:29:09 +01:00
parent e143fa5e33
commit 370c08cd68
30 changed files with 61 additions and 62 deletions

View File

@@ -229,7 +229,7 @@ $('form').each(function () {
width: 0
}));
});
$('#btn_back').click(function() { $('#wiz_form').data('back', true); });
$('#btn_back').on('click', function() { $('#wiz_form').data('back', true); });
$('#wiz_form').on('submit', function() {
if ($(this).data('back'))