• Resolved farlington

    (@farlington)


    Was wondering why I couldn’t get fontssampler.event.activatefont to work since the other events are fine but then realised there was a typo in the documentation page

    https://github.com/kontur/fontsampler-wordpress-plugin/blob/master/README.md

    This works as expected, thanks
    jQuery(document).ready(function( $ ){
    $(“body”).on(“fontsampler.event.activatefont”, “.fontsampler-wrapper”, function (myevent) {
    console.log (“hello event!”);
    });
    });

Viewing 1 replies (of 1 total)
  • Plugin Author kontur

    (@kontur)

    Ah, thanks for reporting, I fixed the double-s there in the event name.

Viewing 1 replies (of 1 total)
  • The topic ‘Typo in readme.md’ is closed to new replies.