Размер файла: 507B
(self.webpackChunkrotor=self.webpackChunkrotor||[]).push([[875],{698:()=>{$(document).ready((function(){$(".dropdown.js-messages-block")&&setInterval((function(){$.get("/messages/new").then((function(s){var e=$(".js-messages-block .app-nav__item"),n=e.find(".badge"),t=JSON.parse(s);"success"===t.status?n.length>0?n.html(t.countMessages):e.append('<span class="badge bg-notify">'+t.countMessages+"</span>"):"error"===t.status&&n.length>0&&n.remove()}))}),6e4)}))}},s=>{"use strict";var e;e=698,s(s.s=e)}]);