浏览代码

better mouseover

master
Pascal Gloor 5 年前
父节点
当前提交
ba4f01c4cd
共有 1 个文件被更改,包括 4 次插入7 次删除
  1. 4
    7
      www/js/autodoc.js

+ 4
- 7
www/js/autodoc.js 查看文件

@@ -32,17 +32,14 @@ $(document).ready(function () {
page_home_scroll();
});

$('#autodoc_home_modal_left').hover(
function(e) {
$('#autodoc_home_modal_left').mouseenter(function(e) {
$(e.target).addClass("text-light bg-secondary");
$(e.target).removeClass("text-secondary bg-light");
},
function(e) {
})
.mouseleave(function(e) {
$(e.target).removeClass("text-light bg-secondary");
$(e.target).addClass("text-secondary bg-light");

}
)
});

});


正在加载...
取消
保存