Commits

Anonymous committed 55bbc2c

Clear share form on open modal

  • Participants
  • Parent commits 048ebec

Comments (0)

Files changed (1)

File socialshare/templates/socialshare/_share_email.js

 {% load i18n %}
 $(document).on('click', '.socialshare.email', function(e){
 	e.preventDefault();
+	$('#share-email-modal form').trigger('reset');
  	$('#share-email-modal').modal();
  	$('#share-email-modal').find('#id_url').val($(this).attr('href'));
+
 });
 
 var options = {