It may be my lack of skills. But i cannot get this plugin to work the
way i want.
At initial page load the call back works as intended, but not when
pressing the answer-button or if i post a new comment.
I've linked my page to the jquery.disqus.js and in the page header ive
got:
<script type="text/javascript">
$(document).ready(function() {
$('#disqus_thread').disqus({
domain: "ourdemoaccount",
title: document.title,
developer: window.location.hostname == "client.local" ? 1 : 0,
show_count: true,
prettify: false,
markdown: false,
ready: function() {
console.log("ready");
framework.setcolheights();
},
added: function(comments) {
console.log("added");
framework.setcolheights();
},
edit: function(textarea) {
console.log("edited");
framework.setcolheights();
}
});
});
</script>
When loading the page with comments both the "ready" and the
"comments"-call back runs. But no call back when posting or answering
a comment.
Ideas? :/