#673 fixed emoji preview for PR #662
Merged 8 years ago by pingou. Opened 8 years ago by cverna.
cverna/pagure pagure_662_PR  into  master

@@ -654,7 +654,8 @@ 

                  },

                  dataType: 'html',

                  success: function(res) {

-                     $( "#preview" ).html(res);

+                     var preview = emojione.toImage(res)

+                     $( "#preview" ).html(preview);

                      $( "#previewinmarkdown" ).removeClass("inactive");

                      $( "#previewinmarkdown" ).addClass("active");

                      $( "#comment" ).hide();
@@ -907,4 +908,3 @@ 

  {% endif %}

  

  {% endblock %}

- 

no initial comment

You'll have to rebase it since I just pushed the commit for 1.0.1 :)

Ha ha - just done the rebase :)

At least now I know that I don't need to close a PR, if my branch is not sync :P

Metadata