Skip to content
Snippets Groups Projects
Commit c07616df authored by Kevin Paxman's avatar Kevin Paxman
Browse files

ISTWCMS-5944: remove unneccessary loop

parent 7ddfb182
No related branches found
No related tags found
1 merge request!54ISTWCMS-5944: migrate gesso contacts patterns and update the variables
......@@ -10,15 +10,11 @@
$(document).ready(function () {
$('.uw-exp-col-expand-all').click(function () {
$('.uw-contact details').each(function () {
$(this).attr('open', '');
});
$('.uw-contact details').attr('open', '');
});
$('.uw-exp-col-collapse-all').click(function () {
$('.uw-contact details').each(function () {
$(this).removeAttr('open');
});
$('.uw-contact details').removeAttr('open');
});
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment