1 parent 93e4ff8 commit d05f6b9Copy full SHA for d05f6b9
unity-forum-fixer.js
@@ -1,7 +1,7 @@
1
// ==UserScript==
2
// @name UnityForumFixer
3
// @namespace https://unitycoder.com/
4
-// @version 0.83 (31.01.2025)
+// @version 0.84 (27.04.2025)
5
// @description Fixes For Unity Forums - https://github.com/unitycoder/UnityForumFixer
6
// @author unitycoder.com
7
// @match https://discussions.unity.com/latest
@@ -666,7 +666,7 @@ function AddOnHoverOpenNotificationPanel() {
666
currentUserButton.addEventListener('mouseenter', () => {
667
// Check if the dropdown is already open
668
const dropdown = document.querySelector('.user-menu.revamped.menu-panel.drop-down');
669
- if (!dropdown || !dropdown.classList.contains('open')) {
+ if (dropdown==null) {
670
currentUserButton.click(); // Simulate a click to open the dropdown
671
}
672
});
0 commit comments