fixed minor error jquery

This commit is contained in:
daniel 2018-11-23 10:47:57 +01:00
parent ec2d65995d
commit 726cabb578
1 changed files with 1 additions and 1 deletions

View File

@ -651,7 +651,7 @@ function add_macro_field(macro, row_model_id) {
$macro_field.attr('class', 'macro_field');
// Get the number of fields already printed
var fields = $('.macro_field').size();
var fields = $('.macro_field').length;
// If is the first, we insert it after model row
if (fields == 0) {