pointer_events_polyfill
pointer_events_polyfill copied to clipboard
Use e.target instead of this
Hey there,
maybe it's better to use
if ($(e.target).css('pointer-events') == 'none') {
instead of
if ($(this).css('pointer-events') == 'none') {
?
Becaus inner pointer-events are ignored at the moment, like:
.template-front
{
pointer-events: none;
.dev-cm7
{
pointer-events: auto;
}
}
Thanks!