Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dysqus comments #37

Closed
Nerian opened this issue Jun 30, 2011 · 1 comment
Closed

Dysqus comments #37

Nerian opened this issue Jun 30, 2011 · 1 comment

Comments

@Nerian
Copy link

Nerian commented Jun 30, 2011

Hello,

I am using PJAX for filling a container with a page that contains dysqus comments.

When the page is loaded as a full request the dysqus comments are rendered.

But when the request is made by PJAX the dyscus comments are not shown. I think the javascript code is not being executed.

Any ideas?

@defunkt
Copy link
Owner

defunkt commented Jun 30, 2011

Run your load-disqus JS when pjax completes:

$(document).bind('end.pjax', function() {
  loadDisqusComments()
});

@defunkt defunkt closed this as completed Jun 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants