This website works better with JavaScript.
Почетна
Преглед
Помоћ
Регистрација
Пријавите Се
gitlord
/
isleward
огледало од
https://gitlab.com/Isleward/isleward.git
Прати
1
Волим
0
Креирај огранак
0
Код
Дискусије
0
Издања
203
Вики
Activity
Преглед изворни кода
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
пре 7 година
родитељ
00c86e9412
ad464dd352
комит
55acff4c5e
1 измењених фајлова
са
6 додато
и
4 уклоњено
Подељен поглед
Diff Options
Show Stats
Download Patch File
Download Diff File
+6
-4
src/client/ui/templates/party/party.js
+ 6
- 4
src/client/ui/templates/party/party.js
Прегледај датотеку
@@ -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;
Write
Preview
Loading…
Откажи
Сачувај