Function detail page

$('.detail-view-weight-count').hide().removeClass('opened');