1
Fork 0

Remove old isHidden function

This commit is contained in:
Guillaume Gomez 2019-11-07 10:13:44 +01:00
parent f66a331335
commit 24e093c5c3
2 changed files with 1 additions and 5 deletions

View file

@ -24,10 +24,6 @@ function removeClass(elem, className) {
elem.classList.remove(className);
}
function isHidden(elem) {
return elem.offsetParent === null;
}
function onEach(arr, func, reversed) {
if (arr && arr.length > 0 && func) {
var length = arr.length;