SPA ready
-
Hi, i wanna use the plugin in single page application, the problem is the plugin grab the post id when the document is ready and insert it into a variable (on ‘wpdiscuz.js’ document at the top:
var wpdiscuzPostId = wpdiscuzAjaxObj.wpdiscuz_options.wc_post_id;
), then using it on the admin-ajax call.
We would like to use it on our single-page application when fetching other posts, means we need the access to change thewpdiscuzPostId
variable outside the scope.
Would it be possible to achieve in the next release?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘SPA ready’ is closed to new replies.