[resolved] QTags is not defined adding post to Soliloquy Slider (2 posts)

  1. matthewhale
    Posted 1 year ago #

    It appears when I'm trying to add a Soliloquy Slider for a post I get an "Uncaught ReferenceError: QTags is not defined" javascript error coming from easyrecipe-entry.js?ver=3.2.1275. I have a feeling this is because your javascript isn't checking for the existence of QTags(which in this case when adding a Soliloquy Slider post, it does not exist so your buttons do not need to be loaded).

    Simple fix I did for now, Encapsulated your script in easyrecipe-entry.js with:
    if ( typeof QTags != 'undefined' ) {

    So when QTags are not defined, it doesn't load your code. This might also help out compatibility with other plugins. There is probably a better way of going about this, but thats all I've came up with for a fix :)


  2. Jayce53
    Plugin Author

    Posted 1 year ago #

    Thanks for pointing that out. It will be fixed in the next release.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • EasyRecipe
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic