mirror of https://gitlab.com/tildes/tildes.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
347 B
11 lines
347 B
$.onmount('[data-js-comment-expand-all-button]', function() {
|
|
$(this).click(function(event) {
|
|
$('.comment.is-comment-collapsed').each(
|
|
function(idx, child) {
|
|
$(child).find(
|
|
'[data-js-comment-collapse-button]:first').trigger('click');
|
|
});
|
|
|
|
$(this).blur();
|
|
});
|
|
});
|