Skip to content

Use data-component instead of class selectors #139

Open
@psychobunny

Description

@psychobunny

$('.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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions