Files
klz-cables.com/.pnpm-store/v10/files/73/5e3358ba2fc65a1b335bb6f09a491588cd6f2e55388dbf670284c3f57389a668e8a0d08ebed5b8d66ad215a6d7d71209328254b5dfd9fab7144a200045a0c5
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

8 lines
241 B
Plaintext

/**
* Checks if a given element is currently visible.
*
* @param node the element to check
*/
export default function isVisible(node) {
return node ? !!(node.offsetWidth || node.offsetHeight || node.getClientRects().length) : false;
}