ArtLabaz’s Docs Edited By Me

You are viewing all docs.

Filter by: AttachmentsSearchTag

  • No tags to show.
 Has attachment Title Author Created Last Edited Tags

There are no docs for this view.

Foto & Video

Groups

Group logo of Pets
Pets
Public Group
Group logo of Paintings & Art
Paintings & Art
Public Group
Group logo of Crypto investments
Crypto investments
Public Group

Manage push notifications

notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
notification icon
We would like to show you notifications for the latest news and updates.
notification icon
You are subscribed to notifications
jQuery(document).ready(function($) { function updateWiseChatCount() { $.ajax({ url: wiseChatAjax.ajax_url, method: "POST", data: { action: "get_wise_chat_message_count" }, success: function(response) { if (response.success) { $(".wise-chat-icon .message-count").text(response.data); console.log("Количество сообщений обновлено: " + response.data); } else { console.log("Ошибка при получении количества сообщений"); } }, error: function(xhr, status, error) { console.error("Ошибка AJAX: " + error); } }); } // Обновляем счётчик каждые 10 секунд setInterval(updateWiseChatCount, 10000); updateWiseChatCount(); });