mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-09 16:05:35 +00:00
Random button styling
This commit is contained in:
@@ -20,9 +20,11 @@ define("views/random", function(require) {
|
||||
this.channel = Radio.channel("Sounds");
|
||||
},
|
||||
random: function() {
|
||||
this.$el.find(this.ui.resetButton).removeClass('hidden');
|
||||
this.channel.trigger("sounds:random");
|
||||
},
|
||||
reset: function() {
|
||||
this.$el.find(this.ui.resetButton).addClass('hidden');
|
||||
this.channel.trigger("sounds:reset");
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user