diff --git a/lib/persona.js b/lib/persona.js index d227c41..1f3ff90 100644 --- a/lib/persona.js +++ b/lib/persona.js @@ -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')); }); }