Skip to content

Commit 833f0c3

Browse files
committed
fix
1 parent 9ec01ef commit 833f0c3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

BingBgForBaidu/BingBgForBaidu.user.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// @name 百Bing图
33
// @name:en BingBgForBaidu
44
// @namespace hoothin
5-
// @version 2.2.3
5+
// @version 2.2.5
66
// @description 给百度首页换上Bing的背景图,并添加背景图链接与日历组件
77
// @description:en Just change the background image of baidu.com to bing.com
88
// @author hoothin
@@ -72,13 +72,13 @@
7272
riliLink.innerHTML="<span class='title' style='text-decoration:overline;cursor:crosshair'>"+$(".op-calendar-new-right-date",iframe.contentDocument).html()+"</span>";
7373
riliLink.onmouseover=function(){
7474
t=setTimeout(function(){
75-
if(top===0)iframeDoc.scrollTop(138);
76-
if(left===0)iframeDoc.scrollLeft(121);
7775
if(unsafeWindow.chrome){
7876
$(iframe).show(200);
7977
}else{
8078
iframe.style.display="block";
8179
}
80+
if(top===0)iframeDoc.scrollTop(138);
81+
if(left===0)iframeDoc.scrollLeft(121);
8282
},500);
8383
};
8484
riliLink.onmouseout=function(){

0 commit comments

Comments
 (0)