mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-08 13:44:25 +02:00
Fix level icon solved status
This commit is contained in:
parent
1108219fd3
commit
6442e770f1
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@ var SeriesView = BaseView.extend({
|
||||||
updateSolvedStatus: function() {
|
updateSolvedStatus: function() {
|
||||||
// this is a bit hacky, it really should be some nice model
|
// this is a bit hacky, it really should be some nice model
|
||||||
// property changing but it's the 11th hour...
|
// 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');
|
var id = $(el).attr('data-id');
|
||||||
$(el).toggleClass('solved', LevelStore.isLevelSolved(id));
|
$(el).toggleClass('solved', LevelStore.isLevelSolved(id));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue