We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd3acf0 commit dd00450Copy full SHA for dd00450
source/github-notifications-preview.jsx
@@ -84,7 +84,7 @@ function createNotificationsDropdown() {
84
// https://github.com/tanmayrajani/notifications-preview-github/issues/50
85
const onClick = event => {
86
if (!event.metaKey && !event.ctrlKey && !event.shiftKey && event.target.closest('a[href]')) {
87
- $('.modal-backdrop').click();
+ closeDropdown();
88
}
89
};
90
@@ -181,7 +181,7 @@ async function openDropdown({currentTarget: indicator}) {
181
182
183
function closeDropdown() {
184
- $('.NPG-container[open]').removeAttribute('open');
+ $('details.NPG-container[open] > summary').click();
185
186
187
// When the dropdown is open, GitHub's modal blocks all links outside the dropdown.
0 commit comments