Файловый менеджер - Редактировать - /var/www/html/components/com_community/assets/source/js/functions/notification.js
Ðазад
(function( root, $, factory ) { joms.fn || (joms.fn = {}); joms.fn.notification = factory( root, $ ); define(function() { return joms.fn.notification; }); })( window, joms.jQuery, function( window, $ ) { var requests = []; function updateCounter( type, id, count ) { var $el; id = type + '-' + id; // Prevent double/multiple request for one notification. if ( requests.indexOf( id ) >= 0 ) { return; } $el = $( '.joms-js--notiflabel-' + type ); if ( requests.indexOf( id ) < 0 ) { requests.push( id ); count = +$el.eq(0).text() + count; $el.html( count > 0 ? count : '' ); } } // Exports. return { updateCounter: updateCounter }; });
| ver. 1.1 | |
.
| PHP 8.4.18 | Ð“ÐµÐ½ÐµÑ€Ð°Ñ†Ð¸Ñ Ñтраницы: 0 |
proxy
|
phpinfo
|
ÐаÑтройка