mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 03:39:29 +00:00
improvement: open notification in same window
This commit is contained in:
@@ -324,7 +324,7 @@ const TicketsList = () => {
|
||||
);
|
||||
notification.onclick = function (event) {
|
||||
event.preventDefault(); //
|
||||
window.open(`/chat/${data.ticket.id}`, "_blank");
|
||||
window.open(`/chat/${data.ticket.id}`, "_self");
|
||||
};
|
||||
|
||||
document.getElementById("sound").play();
|
||||
|
||||
Reference in New Issue
Block a user