mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Fix issue processwire/processwire-issues#1767
This commit is contained in:
@@ -251,7 +251,9 @@ $(document).ready(function() {
|
||||
$outer.on('mouseover', '.PageListItem', function(e) {
|
||||
|
||||
if($root.is(".PageListSorting") || $root.is(".PageListSortSaving")) return;
|
||||
if(!$(this).children('a').first().is(":hover")) return;
|
||||
|
||||
var $a = $(this).children('a').first();
|
||||
if($a.length && !$a.is(':hover')) return;
|
||||
|
||||
$hoveredItem = $(this);
|
||||
//console.log('pageX=' + e.pageX);
|
||||
@@ -268,7 +270,8 @@ $(document).ready(function() {
|
||||
|
||||
hoverTimeout = setTimeout(function() {
|
||||
if($hoveredItem.attr('class') == $item.attr('class')) {
|
||||
if(!$hoveredItem.children('a').first().is(":hover")) return;
|
||||
var $a = $hoveredItem.children('a').first();
|
||||
if($a.length && !$a.is(':hover')) return;
|
||||
var $hideItems = $outer.find(".PageListItemHover");
|
||||
showItem($hoveredItem);
|
||||
$hideItems.each(function() { hideItem($(this)); });
|
||||
|
File diff suppressed because one or more lines are too long
@@ -164,7 +164,7 @@ var ProcessWireAdmin = {
|
||||
function mouseleaver() {
|
||||
if(timer) clearTimeout(timer);
|
||||
timer = setTimeout(function() {
|
||||
if($ul.filter(":hover").length || $a.filter(":hover").length) {
|
||||
if(($ul.length && $ul[0].matches(':hover')) || ($a.length && $a[0].matches(':hover'))) {
|
||||
return;
|
||||
}
|
||||
$ul.fadeOut('fast');
|
||||
|
2
wire/templates-admin/scripts/main.min.js
vendored
2
wire/templates-admin/scripts/main.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user