We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31bd068 commit b287e7cCopy full SHA for b287e7c
options/difficulyDropdown.js
@@ -82,6 +82,7 @@ class DifficultyDropdown {
82
const textSpan = this.selected.querySelector('.difficulty-dropdown-selected-text');
83
if (textSpan) textSpan.textContent = difficulty === 'all' ? 'All Difficulties' : difficulty;
84
this.closeList();
85
+ if (this.onChange) this.onChange(difficulty);
86
}
87
88
toggleList() {
0 commit comments