From cfee41bde41f06f7935e9207b03b60296c07e4ff Mon Sep 17 00:00:00 2001 From: tianshujie Date: Tue, 31 Aug 2021 14:57:11 +0800 Subject: [PATCH] * Fix bug #14804. --- module/common/view/header.html.php | 2 +- www/js/my.full.js | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/module/common/view/header.html.php b/module/common/view/header.html.php index 56521cfb98..8d38bca3ff 100755 --- a/module/common/view/header.html.php +++ b/module/common/view/header.html.php @@ -19,7 +19,7 @@ include 'chosen.html.php';
diff --git a/www/js/my.full.js b/www/js/my.full.js index ec85f5bad6..35c7ab77fd 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -874,4 +874,16 @@ $(document).ready(function() { $('a').attr('target', ''); }); + + /* Hide the global create drop-down when hovering over the avatar. */ + $('.has-avatar').hover(function() + { + $(this).next().removeClass('open'); + }); + + /* Hide the avatar drop-down when hovering over the global create button. */ + $('#globalCreate').hover(function() + { + $(this).prev().removeClass('open'); + }); });