-
Couldn't load subscription status.
- Fork 54
Open
Description
If I call:
jss.set('.myClass', {
'display': 'none'
});
the css is updated properly , and the display elements are updated as expected.
However, calling
jss.remove('.myClass');
has no effect.
Calling
jss.remove();
works though.
The .myClass style is not defined anywhere. If I do define it in a .css file included on the page, the behaviour is the same. If I use an element type selector instead of a class selector, remove seems to work as would be expected.
Metadata
Metadata
Assignees
Labels
No labels