相关疑难解决方法(0)

jQuery 1.8:不支持的伪:悬停

以下代码引发了unsupported pseudo: hoverjQuery 1.8 的错误,而它在jQuery 1.7.2上运行完美:

if(!$(this).parent().find('ul').first().is(':hover')) {
   $(this).parent().parent().removeClass('open');
}
Run Code Online (Sandbox Code Playgroud)

有谁知道发生了什么?

javascript jquery jquery-1.8

6
推荐指数
1
解决办法
1万
查看次数

标签 统计

javascript ×1

jquery ×1

jquery-1.8 ×1