This commit is contained in:
@@ -118,7 +118,7 @@ var MetroHot = {
|
||||
$(".side > div").css("position", "static");
|
||||
}
|
||||
} else {
|
||||
if (y + Util.getWinHeight() > $(".side > div").height() + MetroHot.headerH) {
|
||||
if (y + $(window).height() > $(".side > div").height() + MetroHot.headerH) {
|
||||
$(".side > div").css({
|
||||
"position": "fixed",
|
||||
"top": "auto",
|
||||
@@ -175,7 +175,7 @@ var MetroHot = {
|
||||
share: function() {
|
||||
var title = encodeURIComponent($("title").text()),
|
||||
url = window.location.href,
|
||||
pic = $(".article-body img").attr("src");
|
||||
pic = $(".content-reset img").attr("src");
|
||||
var urls = {};
|
||||
urls.tencent = "http://share.v.t.qq.com/index.php?c=share&a=index&title=" + title +
|
||||
"&url=" + url + "&pic=" + pic;
|
||||
|
||||
Reference in New Issue
Block a user