Sha256: 5a85fc16ee6503251f4116ddd542c413452f91162a5c442f680297cd43e3d58c
Contents?: true
Size: 672 Bytes
Versions: 34
Compression:
Stored size: 672 Bytes
Contents
$(() => { ((exports) => { const $processesGrid = $('#processes-grid'); const $loading = $processesGrid.find('.loading'); const filterLinksSelector = '.order-by__tabs a' $loading.hide(); $processesGrid.on('click', filterLinksSelector, (event) => { const $target = $(event.target); const $processesGridCards = $processesGrid.find('.card-grid .column'); $(filterLinksSelector).removeClass('is-active'); $target.addClass('is-active'); $processesGridCards.hide(); $loading.show(); if (exports.history) { exports.history.pushState(null, null, $target.attr('href')); } }); })(window); });
Version data entries
34 entries across 34 versions & 2 rubygems