Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use data-component instead of class selectors #139

Open
psychobunny opened this issue Aug 21, 2020 · 0 comments
Open

Use data-component instead of class selectors #139

psychobunny opened this issue Aug 21, 2020 · 0 comments

Comments

@psychobunny
Copy link
Contributor

$('.category-name').translateText(selectedCategory ? selectedCategory.name : '[[modules:composer.select_category]]');
$('.category-selector').find('li[data-cid="' + postData.cid + '"]').addClass('active');

Breaking change so I'll leave this here till the appropriate time. Until then addressed here e5d6eb9

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

No branches or pull requests

1 participant