Commit ea9bbfa0 authored by Serge S. Koval's avatar Serge S. Koval

Merge pull request #346 from bool-dev/master

Changed jquery .live to .on
parents 949e6354 eea91ab1
...@@ -187,8 +187,8 @@ ...@@ -187,8 +187,8 @@
}; };
}; };
// Add live event handler // Add on event handler
$('.fa-remove-field').live('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