Incompatible with Disqus?
-
Hi and thank you for the great plugin! Unfortunately, today, I installed the Disqus commenting plugin, and now it seems the slideviewer does not work correctly. Very strangely, it adds an unnecessary extra slide that now loads with the following text:
// <![CDATA[ var disqus_shortname = 'tester'; (function () { var nodes = document.getElementsByTagName('span'); for (var i = 0, url; i < nodes.length; i++) { if (nodes[i].className.indexOf('dsq-postid') != -1) { nodes[i].parentNode.setAttribute('data-disqus-identifier', nodes[i].getAttribute('rel')); url = nodes[i].parentNode.href.split('#', 1); if (url.length == 1) { url = url[0]; } else { url = url[1]; } nodes[i].parentNode.href = url + '#disqus_thread'; } } var s = document.createElement('script'); s.async = true; s.type = 'text/javascript'; s.src = '//' + 'disqus.com/forums/' + disqus_shortname + '/count.js'; (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s); }()); //]]>[Moderator Note: Please post code & markup between backticks or use the code button (not blockquote). Your posted code may now have been permanently damaged by the forum’s parser.]
I don’t know why it’s loading this code, instead of the regular picture and excerpt like usual. Any help resolving this issue would be great, thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Incompatible with Disqus?’ is closed to new replies.