Fix level icon solved status

This commit is contained in:
Peter Cottle 2022-10-21 11:56:52 -06:00
parent 1108219fd3
commit 6442e770f1

View file

@ -402,7 +402,7 @@ var SeriesView = BaseView.extend({
updateSolvedStatus: function() {
// this is a bit hacky, it really should be some nice model
// property changing but it's the 11th hour...
var toLoop = this.$('div.levelIcon').each(function(index, el) {
var toLoop = this.$('a.levelIcon').each(function(index, el) {
var id = $(el).attr('data-id');
$(el).toggleClass('solved', LevelStore.isLevelSolved(id));
});