copyright header added

This commit is contained in:
nklhrstv 2022-05-19 16:28:52 +03:00
parent bb4ad7a383
commit d4928c05d9

View file

@ -1,3 +1,5 @@
// Copyright (C) 2017-2022 Smart code 203358507
const isChildVisible = (container, element, threshold) => {
const elementTop = element.offsetTop;
const elementBottom = element.offsetTop + element.clientHeight;