Skip to content

Commit 2b31d55

Browse files
committed
main.js Bugfix
1 parent a023c9d commit 2b31d55

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

.DS_Store

10 KB
Binary file not shown.

.idea/workspace.xml

-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/mods/main.js

+10-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,16 @@ define(function(require,exports,module){
4747
var offsetTop = $("#foot").offset() && $("#foot").offset().top;
4848
if(offsetTop >= 1300) {
4949
$(".embed_left").css("display", "block");
50-
$(".embed_left_2").css("display", "block");
50+
if($(".right_sub").css("display") != "none") {
51+
// alert($(".right_sub").css("display"));
52+
$(".embed_left_2").css("display", "none");
53+
} else {
54+
$(".embed_left_2").css("display", "block");
55+
}
56+
}
57+
else {
58+
$(".embed_left").css("display", "none");
59+
$(".embed_left_2").css("display", "none");
5160
}
5261
}
5362
});

0 commit comments

Comments
 (0)