...
|
...
|
@@ -31,7 +31,7 @@ exports.init=function(info){ |
|
|
fbAppId:"",
|
|
|
fbUrl:"",
|
|
|
qqText:""
|
|
|
}
|
|
|
};
|
|
|
var options=$.extend(defaults,info);
|
|
|
|
|
|
|
...
|
...
|
@@ -57,7 +57,7 @@ exports.init=function(info){ |
|
|
return options.imgFunction.apply($(".yohoo-share-button-sina"));
|
|
|
})();
|
|
|
}
|
|
|
window.shareUrl = options.img
|
|
|
window.shareUrl = options.img;
|
|
|
share();
|
|
|
});
|
|
|
if(options.shareUrlFunction!==null)
|
...
|
...
|
@@ -84,9 +84,9 @@ exports.init=function(info){ |
|
|
u.href = [f, p].join('');
|
|
|
}
|
|
|
if (/Firefox/.test(navigator.userAgent)) {
|
|
|
setTimeout(a, 0)
|
|
|
setTimeout(a, 0);
|
|
|
} else {
|
|
|
a()
|
|
|
a();
|
|
|
}
|
|
|
})(screen, document, encodeURIComponent);
|
|
|
}
|
...
|
...
|
@@ -185,11 +185,11 @@ $(".detail-container").on("click.closeWxDialog",function(event){ |
|
|
}else{
|
|
|
$(".wx-qrcode-dialog").hide();
|
|
|
}
|
|
|
})
|
|
|
});
|
|
|
|
|
|
$(".bottom-content").on("click.closeWxDialog",function(){
|
|
|
$(".detail-container").trigger("click.closeWxDialog");
|
|
|
})
|
|
|
});
|
|
|
$(".enterprise").on("click.closeWxDialog",function(){
|
|
|
$(".detail-container").trigger("click.closeWxDialog");
|
|
|
}) |
|
|
}); |
...
|
...
|
|