|
@@ -15,6 +15,7 @@
|
|
|
var ad_title = $(e).find("a").attr("ad_title");
|
|
|
if (utils.$envs.inApp) {
|
|
|
JyObj.openExternalLink($(e).find("a").attr("ad_link"), ad_title);
|
|
|
+ return ;
|
|
|
}
|
|
|
window.location.href= $(e).find("a").attr("ad_link");
|
|
|
}
|
|
@@ -26,6 +27,7 @@
|
|
|
if (result || !window.isFree) {
|
|
|
if (utils.$envs.inApp) {
|
|
|
JyObj.openExternalLink($(e).find("a").attr("openurl"), "查看原文");
|
|
|
+ return ;
|
|
|
}
|
|
|
window.location.href= $(e).find("a").attr("openurl");
|
|
|
return true
|
|
@@ -52,18 +54,21 @@
|
|
|
} else {
|
|
|
if (utils.$envs.inApp) {
|
|
|
JyObj.openExternalLink($(e).find("a").attr("openurl"),"查看原文");
|
|
|
+ return ;
|
|
|
}
|
|
|
window.location.href= $(e).find("a").attr("openurl");
|
|
|
}
|
|
|
} else {
|
|
|
if (utils.$envs.inApp) {
|
|
|
JyObj.openExternalLink($(e).find("a").attr("openurl"),"查看原文");
|
|
|
+ return ;
|
|
|
}
|
|
|
window.location.href= $(e).find("a").attr("openurl");
|
|
|
}
|
|
|
}).fail(function () {
|
|
|
if (utils.$envs.inApp) {
|
|
|
JyObj.openExternalLink($(e).find("a").attr("openurl"),"查看原文");
|
|
|
+ return ;
|
|
|
}
|
|
|
window.location.href= $(e).find("a").attr("openurl");
|
|
|
})
|