Skip to content

Commit 4afce85

Browse files
authored
MBS-11753: Fix selectors for RangeSelect in ArtistEdit (metabrainz#2155)
It seems this broke during the conversion to React (MBS-11195), since the selectors changed. Tested, and this change seems to work both for collapsible and non-collapsible editor sections.
1 parent f18e130 commit 4afce85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

root/static/scripts/edit/MB/Control/ArtistEdit.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ MB.Control.ArtistEdit = function () {
9898
self.$type.bind('change.mb', self.typeChanged);
9999

100100
MB.Control.RangeSelect(
101-
'#artist-credit-renamer span.rename-artist-credit input[type="checkbox"]',
101+
'#artist-credit-renamer input[type="checkbox"]',
102102
);
103103

104104
MB.Control.initializeGuessCase('artist', 'id-edit-artist');

0 commit comments

Comments
 (0)