add specific css selector

This commit is contained in:
Diatrex 2020-10-06 13:50:01 +03:00
parent 6cf93b7652
commit a4ba83eb29

View File

@ -1,3 +1,3 @@
$('.show-all').on('click', function () {
$('.categories-list .show-all').on('click', function () {
$(this).siblings('.hidden-category').toggleClass('hidden')
})