diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index 283d3112..4aaad48b 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -576,7 +576,7 @@ "detail": image_set }); - if (active_file_inputs.length < 1) { + if (active_file_inputs.size < 1) { window.dispatchEvent(event); } sortable('.sortable');