@ -198,8 +198,7 @@ $(document).ready(function() {
});
function loadNotifications() {
const lang = utils.userLangToTimeagoCode(config.userLang);
require(['notifications', 'assets/vendor/jquery/timeago/locales/jquery.timeago.' + lang + '.js'], function(notifications) {
require(['notifications'], function(notifications) {
notifications.loadNotifications($('#menu [data-section="notifications"] ul'));
}