Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pitaj committed Dec 20, 2017
1 parent 01ce7f2 commit 25c04e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/persona.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ $(document).ready(function() {
});

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

0 comments on commit 25c04e5

Please sign in to comment.