Browse Source

Use destroyInvite()

tags/v0.1.2^2
Paul Holden 7 years ago
committed by Paul Holden
parent
commit
1bdab1a449
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      src/client/ui/templates/party/party.js

+ 2
- 4
src/client/ui/templates/party/party.js View File

@@ -101,10 +101,8 @@ define([

onGetParty: function(party) {
// Destroy invite frame if you join a party
if (this.invite) {
this.invite.el.remove();
this.invite = null;
}
if (this.invite)
this.destroyInvite();

var container = this.find('.party .list')
.empty();


Loading…
Cancel
Save