NazariyM
1/22/2018 - 4:31 PM

check if element is hidden

function isHidden(el) {
    return (el.offsetParent === null)
}