Skip to content

Commit d05f6b9

Browse files
authored
Update unity-forum-fixer.js
fix mouseover on avatar to open notifications panel
1 parent 93e4ff8 commit d05f6b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎unity-forum-fixer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name UnityForumFixer
33
// @namespace https://unitycoder.com/
4-
// @version 0.83 (31.01.2025)
4+
// @version 0.84 (27.04.2025)
55
// @description Fixes For Unity Forums - https://github.com/unitycoder/UnityForumFixer
66
// @author unitycoder.com
77
// @match https://discussions.unity.com/latest
@@ -666,7 +666,7 @@ function AddOnHoverOpenNotificationPanel() {
666666
currentUserButton.addEventListener('mouseenter', () => {
667667
// Check if the dropdown is already open
668668
const dropdown = document.querySelector('.user-menu.revamped.menu-panel.drop-down');
669-
if (!dropdown || !dropdown.classList.contains('open')) {
669+
if (dropdown==null) {
670670
currentUserButton.click(); // Simulate a click to open the dropdown
671671
}
672672
});

0 commit comments

Comments
 (0)