Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
gitlord
/
isleward
réplica de
https://gitlab.com/Isleward/isleward.git
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
203
Wiki
Actividad
Explorar el Código
Merge branch '108-destroy-invite-fix' into 'staging'
Allow explicit destroyInvite() call with no event See merge request
!56
tags/v0.1.2^2
Big Bad Waffle
hace 7 años
padre
00c86e9412
ad464dd352
commit
55acff4c5e
Se han
modificado 1 ficheros
con
6 adiciones
y
4 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+6
-4
src/client/ui/templates/party/party.js
+ 6
- 4
src/client/ui/templates/party/party.js
Ver fichero
@@ -179,10 +179,12 @@ define([
},
destroyInvite: function(e) {
if ($(e.target).hasClass('btnAccept'))
this.acceptInvite();
else
this.declineInvite();
if (e) {
if ($(e.target).hasClass('btnAccept'))
this.acceptInvite();
else
this.declineInvite();
}
this.invite.el.remove();
this.invite = null;
Escribir
Vista previa
Cargando…
Cancelar
Guardar