blob: 833e946af5c0052c88228d0a8d590d5dd2c767db (
plain)
1
2
3
4
5
6
7
8
9
|
import $ from 'jquery';
export const initDetailsButton = () => {
$('body').on('click', '.js-details-expand', function expand(e) {
e.preventDefault();
$(this).next('.js-details-content').removeClass('hide');
$(this).hide();
});
};
|