From 8e2b9cb8722e69a286b19f884635e3519d0a39b4 Mon Sep 17 00:00:00 2001 From: hufangzhou Date: Thu, 3 Aug 2023 17:33:27 +0800 Subject: [PATCH] * Fix bug #36973. --- module/doc/js/view.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/module/doc/js/view.js b/module/doc/js/view.js index 9b0683872f..36268cef37 100644 --- a/module/doc/js/view.js +++ b/module/doc/js/view.js @@ -14,6 +14,19 @@ $(function() location.reload(); } }) + + $('#mainContent').on('mouseover', 'li.file', function() + { + $(this).children('span.right-icon').removeClass("hidden"); + $(this).addClass('backgroundColor'); + }); + + $('#mainContent').on('mouseout', 'li.file', function() + { + $(this).children('span.right-icon').addClass("hidden"); + $(this).removeClass('backgroundColor'); + }); + }) /**