Thanks to visit codestin.com
Credit goes to github.com

Skip to content

storing selector in a variable doesn't seem to work #41

@gabrie-ciprian-magda

Description

@gabrie-ciprian-magda

I am not sure I am doing something wrong, but I try to store the selector name in a variable like this:
$target = $this.closest('.whatever').find('.' + $identifier);
and try to change it like this:
jss.set($target, { borderColor: "#whatever" });
but I get this error:

Uncaught TypeError: t.toLowerCase is not a function

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