• Resolved Palpatine1976

    (@palpatine1976)


    Hi –

    First, thanks for the great plugin!

    Issue I have is that sometimes I can’t control the classes applied to an SVG image when added via a 3rd-party plugin (Visual Composer, Ubermenu etc.)

    I can easily add the class via jQuery but it doesn’t look like I can call your inlining script myself. Seems like it fires once and once only in document.ready() – and the classes aren’t there yet.

    Is there a reason you couldn’t wrap your inlining function in a public function call so that we can call it again later via $.fn.inlineSVG or whatever?

Viewing 2 replies - 16 through 17 (of 17 total)
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Call inline function via JS’ is closed to new replies.