Page MenuHomeSoftware Heritage

assets: Fix bug in elementsfrompoint-polyfill
ClosedPublic

Authored by anlambert on Thu, Jan 30, 3:00 PM.

Details

Summary

Current implementation of polyfill for document.elementsFromPoint is buggy,
so fix it to avoid js errors in old browsers.

Issue spotted thanks to sentry: https://sentry.softwareheritage.org/organizations/swh/issues/443/?project=13

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.