wangshan 7 vuotta sitten
vanhempi
commit
f9d4aa6ee8

+ 5 - 1
src/jfw/modules/followent/src/web/wxswordfish/share.js

@@ -1,6 +1,10 @@
 function initShare(signature,openid,isentry,activecode,nickname,avatar,id){
 	var myloc = window.location.host;
-	myloc="https://"+myloc;
+	var ors = "";
+	if("https:"==document.location.protocol){
+		ors = "s"
+	}
+	myloc="http"+ors+"://"+myloc;
 	activecode=activecode||""
 	if(typeof(openid) == "undefined" || openid == null || openid == ""){
 		openid = "-1";

+ 3 - 0
src/web/staticres/js/common.js

@@ -219,6 +219,9 @@ var TableHeadFixed = function(className,isminus,flag,pageName){
 		}
 		var tableHeight = $("."+className).outerHeight();
 		if(tableHeight <= cHeight){
+				$("."+className+" .lucene-table").removeClass("tabfixed tababsolute");
+				$("."+className+" .lucene-table>table:first").css("top",0);
+				thisFlag = false;
 			return;
 		}
 		var offsetTop = $("."+className).offset().top;