This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
gitlord
/
isleward
mirror of
https://gitlab.com/Isleward/isleward.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
203
Wiki
Activity
Browse Source
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 years ago
parent
00c86e9412
ad464dd352
commit
55acff4c5e
1 changed files
with
6 additions
and
4 deletions
Split View
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
View File
@@ -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…
Cancel
Save