Commit eea91ab1 authored by bool.dev's avatar bool.dev

Fixed implementation of jquery .on

parent a2ec467d
...@@ -188,7 +188,7 @@ ...@@ -188,7 +188,7 @@
}; };
// Add on event handler // Add on event handler
$('.fa-remove-field').on('click', function(e) { $('body').on('click', '.fa-remove-field' , function(e) {
e.preventDefault(); e.preventDefault();
var form = $(this).closest('.fa-inline-field'); var form = $(this).closest('.fa-inline-field');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment