We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb54ce7 commit 9722f2eCopy full SHA for 9722f2e
1 file changed
javascripts/toggle-images.js
@@ -69,7 +69,8 @@ export default function () {
69
}
70
71
// Remove focus from the button after click so the tooltip does not stay displayed.
72
- toggleImagesBtn.blur()
+ // Use settimeout to work around Firefox-specific issue.
73
+ setTimeout(() => { toggleImagesBtn.blur() }, 100)
74
75
// Save this preference as a cookie.
76
Cookies.set('hideImagesPreferred', showOnNextClick, { sameSite: 'strict', secure: true })
0 commit comments