update to jquery 3.4.1 and update calcscript

This commit is contained in:
Felix Schulze
2019-11-12 14:17:33 +01:00
parent 24bf6336d8
commit e54effd9b2
2 changed files with 3 additions and 3 deletions

View File

@ -2,11 +2,11 @@ $(document).ready(function() {
$('form').change(function() {
raknaUtMeritvarde();
});
$('.add_row').live('click', function() {
$(document).on('click','.add_row', function() {
$('div.sample_row > div').clone().appendTo('form.courses');
raknaUtMeritvarde();
});
$('.delete_row').live('click', function() {
$(document).on('click','.delete_row', function() {
$(this).parent().slideUp(function() {
$(this).remove();
raknaUtMeritvarde();