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 0af9fc4 commit f7b0db9Copy full SHA for f7b0db9
src/hooks/deck.js
@@ -19,11 +19,10 @@ onPage('Decks', function deckPage() {
19
eventManager.emit('Deck:postChange', obj);
20
eventManager.emit(`Deck:${data.action}`, obj);
21
});
22
- // Class change
23
- $('#selectSouls').change(function soulChange() {
24
- // Sometimes it takes too long, so lets change it now
25
- const val = $(this).val();
26
- globalSet('soul', val);
+ // Soul change
+ globalSet('updateSoul', function updateSoul() {
+ this.super();
+ const val = $('#selectSouls').val();
27
eventManager.emit('Deck:Soul', val);
28
29
0 commit comments