Difference between revisions of "MediaWiki:HealdImageCollection.js"
[http://www.nga.gov/content/ngaweb/research/casva/research-projects.html A Project of the National Gallery of Art, Center for Advanced Study in the Visual Arts ]
(Install package: HEALD Images) |
(Update package: HEALD Images) |
||
| Line 1: | Line 1: | ||
// Adds responsive columns to the SMW filtered format output for the ImageCollection | // Adds responsive columns to the SMW filtered format output for the ImageCollection | ||
$('.heald-collection .filtered-views-container').addClass('card-columns'); | $('.heald-collection .filtered-views-container').addClass('card-columns'); | ||
| + | |||
| + | $(function() { | ||
| + | $('#resetfilters').click(function() { | ||
| + | location.reload(); | ||
| + | }); | ||
| + | $('#reset-wrapper').detach().appendTo('.filtered-filters'); | ||
| + | }); | ||
Revision as of 22:03, August 11, 2021
// Adds responsive columns to the SMW filtered format output for the ImageCollection
$('.heald-collection .filtered-views-container').addClass('card-columns');
$(function() {
$('#resetfilters').click(function() {
location.reload();
});
$('#reset-wrapper').detach().appendTo('.filtered-filters');
});