• Resolved jocca

    (@jocca)


    Hi, api.js causes an jq error:

    Uncaught Error: Syntax error, unrecognized expression: [...]

    while trying rendering image captions.

    line 109 of api.js: } else if($originalCaption.text() !== $(caption).text()){

    caption contains a string, not necessarily HTML so $(caption) can’t be evaluated.

    • This topic was modified 4 years, 5 months ago by jocca.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author EdwardBock

    (@edwardbock)

    Thanks for your report. I’ll have a look into this.

    Plugin Author EdwardBock

    (@edwardbock)

    We’ve released version 1.5.0 of this plugin which comes with a refactoring of the frontend javascript. We got rid of the jquery dependency but this means a lot has changed. Hope this helps with your problem too.

    Thread Starter jocca

    (@jocca)

    thanks, that resolves the issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug: jq error api.js:109 (version 1.4.5)’ is closed to new replies.