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