Permalink
Browse files

netteForms: toggle visibility using attribute hidden

  • Loading branch information...
dg committed Feb 11, 2019
1 parent f915992 commit 0425a4e1bf8fb484fba0f3a034eb8e102a528f35
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/assets/netteForms.js
@@ -660,7 +660,7 @@
}
var elems = document.querySelectorAll(selector);
for (var i = 0; i < elems.length; i++) {
elems[i].style.display = visible ? '' : 'none';
elems[i].hidden = !visible;
}
};

0 comments on commit 0425a4e

Please sign in to comment.