Skip to content

Commit 0ad3167

Browse files
committed
fix
1 parent e754484 commit 0ad3167

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

BingBgForBaidu/BingBgForBaidu.user.js

Lines changed: 2 additions & 2 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.3.6
5+
// @version 2.3.7
66
// @description 给百度首页换上Bing的背景图,并添加背景图链接与日历组件
77
// @description:en Just change the background image of baidu.com to bing.com
88
// @author hoothin
@@ -80,7 +80,7 @@
8080
var height=rili.height();
8181
iframe.width=width===0?538:width;
8282
iframe.height=height===0?370:height;
83-
var today=$(".op-calendar-new-table-border",iframe.contentDocument);
83+
var today=$(".op-calendar-new-table-border,.op-calendar-new-table-today",iframe.contentDocument);
8484
var t;
8585
riliLink.innerHTML="<span class='title' style='text-decoration:overline;cursor:crosshair'>"+$(".op-calendar-new-right-date",iframe.contentDocument).html()+"</span>";
8686
riliLink.onmouseover=function(){

0 commit comments

Comments
 (0)