使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
gitlord
/
isleward
镜像自地址
https://gitlab.com/Isleward/isleward.git
关注
1
点赞
0
派生
0
代码
工单
0
版本发布
203
百科
动态
浏览代码
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 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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;
撰写
预览
正在加载...
取消
保存