How to use the ep_comments_page/static/js/commentBoxes.hideOpenedComments function in ep_comments_page

To help you get started, we’ve selected a few ep_comments_page examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ether / ep_comments / static / js / commentIcons.js View on Github external
}).on("click", ".comment-icon.inactive", function(e){
    // deactivate/hide other comment boxes that are opened, so we have only
    // one comment box opened at a time
    commentBoxes.hideOpenedComments();
    var allActiveIcons = getPadOuter().find('#commentIcons').find(".comment-icon.active");
    toggleActiveCommentIcon(allActiveIcons);

    // activate/show only target comment
    toggleActiveCommentIcon($(this));
    var commentId = targetCommentIdOf(e);
    commentBoxes.showComment(commentId, e, true);
  });
}

ep_comments_page

Adds comments on sidebar and link it to the text. For no-skin use ep_page_view.

Apache-2.0
Latest version published 11 days ago

Package Health Score

72 / 100
Full package analysis

Similar packages