Skip to content

Commit d0c80f0

Browse files
committed
Avoid closing on hover
1 parent a075971 commit d0c80f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extension/github-notifications-preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function getRefinedGitHubUnreadCount() {
4949

5050
// Is the dropdown open? Is it opening?
5151
function isOpen(el) {
52-
return select.exists('.NPG-opener[aria-expanded="true"], .NPG-loading', el);
52+
return select.exists('.NPG-container[open], .NPG-loading', el);
5353
}
5454

5555
async function updateUnreadCount() {

0 commit comments

Comments
 (0)