1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-12 09:44:38 +02:00

Fix issue processwire/processwire-issues#590 dropdown hover ajax menus using fix suggested in issue report

This commit is contained in:
Ryan Cramer
2018-05-10 05:37:29 -04:00
parent e520c09f7a
commit 2d8dc82010
2 changed files with 3 additions and 2 deletions

View File

@@ -364,7 +364,8 @@ var ProcessWireAdmin = {
});
$ul.addClass('navJSON').addClass('length' + parseInt(data.list.length)).hide();
if($ul.children().length) $ul.css('opacity', 1.0).fadeIn('fast');
if($ul.children().length) $ul.css('opacity', 1.0);
if(hoveredDropdownAjaxItem == $a) $ul.fadeIn('fast');
if(numSubnavJSON) {
var numParents = $ul.parents('ul').length;

File diff suppressed because one or more lines are too long