use el.on("click") to load more comments and prevent default
This commit is contained in:
parent
d0a50c7905
commit
94ee6a6981
@ -67,8 +67,7 @@ define(["app/dom", "app/utils", "app/config", "app/api", "app/jade", "app/i18n",
|
||||
|
||||
entrypoint.append(el);
|
||||
|
||||
$("a.load_hidden", el).toggle("click",
|
||||
function() {
|
||||
$("a.load_hidden", el).on("click", function() {
|
||||
el.remove();
|
||||
api.fetch($("#isso-thread").getAttribute("data-isso-id"),
|
||||
config["reveal-on-click"], config["max-comments-nested"],
|
||||
|
Loading…
Reference in New Issue
Block a user