Skip to content

Commit

Permalink
修复光标
Browse files Browse the repository at this point in the history
  • Loading branch information
5iux committed Apr 13, 2020
1 parent 49ac711 commit 65121aa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@
if ($t=="b"){
echo'<div class="lg" style="background: url(icon/baidu.svg) no-repeat center/cover;" onclick="window.location.href=\'?t=\';"></div>';
}else{
//默认谷歌图标
echo'<div class="lg" style="background: url(icon/g.svg) no-repeat center/cover;" onclick="window.location.href=\'?t=b\';"></div>';
}

Expand All @@ -195,7 +196,7 @@
作者:D.Young
主页:https://yyv.me/
github:https://github.com/5iux/sou
日期:2020-03-24
日期:2020/04/13
版权所有,请勿删除
-->
</body>
Expand Down
8 changes: 4 additions & 4 deletions sou.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
作者:D.Young
主页:https://yyv.me/
github:https://github.com/5iux/sou
日期:2020/03/24
日期:2020/04/13
版权所有,请勿删除
*/

$(document).ready(function() {
//判断窗口大小,添加输入框自动完成
/* var wid = $("body").width();
var wid = $("body").width();
if (wid < 640) {
$(".wd").attr('autocomplete', 'off');
// $(".wd").attr('autocomplete', 'off');
}else{
$(".wd").focus();
}*/
}
//菜单点击
$("#menu").click(function(event) {
$(this).toggleClass('on');
Expand Down

0 comments on commit 65121aa

Please sign in to comment.