You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
From the looks of things, it seems that JavaScript has no API for controlling or switching between tabs. That said, you can focus window objects using the window.focus() method, but this can only be used for popup windows and other windows created using window.open().
So I guess, in short, there is currently no way to do this, otherwise I'd at least give you a code snippet to work with. Sorry.
Can you wrap a function to focus on the tab when the user click on the notification?
The text was updated successfully, but these errors were encountered: