1
0
Fork 0
mirror of synced 2024-09-20 03:08:18 +12:00

Fix potential undefined reference

This commit is contained in:
Andrew Kingston 2024-08-15 11:38:11 +01:00
parent 0252b02406
commit 916a7983d8
No known key found for this signature in database

View file

@ -49,7 +49,7 @@ export const getGridVar = (device, param) => `--grid-${device}-${param}`
// Determines whether a JS event originated from immediately within a grid
export const isGridEvent = e => {
return (
e.target.dataset.indicator === "true" ||
e.target.dataset?.indicator === "true" ||
e.target
.closest?.(".component")
?.parentNode.closest(".component")