|
@@ -677,8 +677,8 @@ function addScrollEvent(){
|
|
|
}
|
|
|
}, 100));
|
|
|
$(`.rightWrapper`).off("scroll").scroll(throttle(function(){
|
|
|
- if($(".rightWrapper .longStrBox").css("display") === "block"){
|
|
|
- $(".rightWrapper .longStrBox").css("top",Number(getLongTop("right"))+5+"px")
|
|
|
+ if ($(".rightWrapper .longStrBox:visible").css("display") === "block") {
|
|
|
+ $(".rightWrapper .longStrBox:visible").css("top", Number(getLongTop("right")) + 5 + "px")
|
|
|
}
|
|
|
}, 100));
|
|
|
}
|