Prevent Auto-abort /or/ enable plugin to be initialised at will via jquery
-
On an ajax based site, it would be handy to control whether the plugin initialises or not.
Use case: On a tag/category archive page (and other pages which cannot, or do not have comments enabled), I allow users to read posts inside an ajax popup window. However, as the plugin initially loads on the archive page, it auto-aborts as ‘comments aren’t enabled’. When the posts are then ajaxed onto the page, and a comment is made, the plugin doesn’t do anything.
This is not an issue on my homepage, even though the user experience is exactly the same, as on a page I can set comments to be enabled, thus triggering the initial plugin load.
I appreciate the control to allow the js files to be loaded on every page, but this seems half-hearted if we cannot make use of the files due to the auto-abort.
Hopefully this could be as easy as a checkbox on the settings page?
Alternative would be to allow me to initialise the plugin at will via my own .js, on the pages I want to init it.Many thanks for your consideration and for the otherwise amazing plugin!
??
- The topic ‘Prevent Auto-abort /or/ enable plugin to be initialised at will via jquery’ is closed to new replies.