mirror of
https://github.com/exane/not-gwent-online
synced 2025-08-13 13:07:32 +00:00
stuff
This commit is contained in:
@@ -444,6 +444,11 @@ var User = Backbone.Model.extend({
|
||||
self.set("passing", passing);
|
||||
})
|
||||
|
||||
app.receive("foe:left", function() {
|
||||
console.log("your foe left the room");
|
||||
$(".container").prepend('<div class="alert alert-danger">Your foe left the battle!</div>')
|
||||
})
|
||||
|
||||
|
||||
app.on("createRoom", this.createRoom, this);
|
||||
app.on("joinRoom", this.joinRoom, this);
|
||||
|
Reference in New Issue
Block a user