Skip to content

Use e.target instead of this #19

@droid51

Description

@droid51

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions