|
|
@ -25,10 +25,12 @@ define([
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if(openLinkSetting) {
|
|
|
|
var open = function () {
|
|
|
|
window.open(href, '_blank', 'noreferrer');
|
|
|
|
var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href);
|
|
|
|
return;
|
|
|
|
window.open(bounceHref);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (openLinkSetting) { return void open(); }
|
|
|
|
|
|
|
|
|
|
|
|
var $iframe = $('html').find('iframe').contents();
|
|
|
|
var $iframe = $('html').find('iframe').contents();
|
|
|
|
|
|
|
|
|
|
|
@ -53,8 +55,7 @@ define([
|
|
|
|
$(a).click(function (ee) {
|
|
|
|
$(a).click(function (ee) {
|
|
|
|
ee.preventDefault();
|
|
|
|
ee.preventDefault();
|
|
|
|
ee.stopPropagation();
|
|
|
|
ee.stopPropagation();
|
|
|
|
var bounceHref = window.location.origin + '/bounce/#' + encodeURIComponent(href);
|
|
|
|
open();
|
|
|
|
window.open(bounceHref);
|
|
|
|
|
|
|
|
$link.remove();
|
|
|
|
$link.remove();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
$link.on('mouseleave', function () {
|
|
|
|
$link.on('mouseleave', function () {
|
|
|
|