SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a coffeescript version that worked for me.
$(document).on 'hidden.bs.modal', (e) -> target = $(e.target) target.removeData('bs.modal').find(".modal-content").html('')