Skip to content

Use e.target instead of this #19

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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