mirror of
https://github.com/exane/not-gwent-online
synced 2025-10-09 07:39:08 +00:00
update stuff
This commit is contained in:
@@ -405,9 +405,10 @@ var BattleView = Backbone.View.extend({
|
||||
},
|
||||
clickLeader: function(e){
|
||||
var $card = $(e.target).closest(".field-leader");
|
||||
console.log("click leader");
|
||||
if(!$card.parent().hasClass("player")) return;
|
||||
if($card.hasClass("disabled")) return;
|
||||
if($card.find(".card").hasClass("disabled")) return;
|
||||
|
||||
console.log("click leader");
|
||||
|
||||
|
||||
this.app.send("activate:leader")
|
||||
|
Reference in New Issue
Block a user