Ver código fonte

Use destroyInvite()

tags/v0.1.2^2
Paul Holden 7 anos atrás
committed by Paul Holden
pai
commit
1bdab1a449
1 arquivos alterados com 2 adições e 4 exclusões
  1. +2
    -4
      src/client/ui/templates/party/party.js

+ 2
- 4
src/client/ui/templates/party/party.js Ver arquivo

@@ -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();


Carregando…
Cancelar
Salvar