Commit 3ce8b99e by doszhang

dos

parent 5321ae22
......@@ -119,8 +119,11 @@
'title': friend_title,
'desc': friend_desc,
success: function () {
$('.page').hide();
MtaH5.clickShare('wechat_friend');
try {
MtaH5.clickShare('wechat_friend');
} catch (error) {
console.log(error);
}
}
};
window.wxTimelineData = {
......@@ -128,7 +131,11 @@
'imgUrl': link + '/Public/static/image2/share.jpg',
'title': timeline_desc,
success: function () {
MtaH5.clickShare('wechat_moments');
try {
MtaH5.clickShare('wechat_moments');
} catch (error) {
console.log(error);
}
}
};
</script>
......
......@@ -314,8 +314,13 @@ function tryprize() {
}
function createPoster(callback) {
try {
MtaH5.clickStat(canvasArr[resultType - 1][7]);
} catch (error) {
console.log(error);
}
MtaH5.clickStat(canvasArr[resultType - 1][7]);
$('.poster-bg').hide();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment