Skip to content

Commit

Permalink
remove timeago loading
Browse files Browse the repository at this point in the history
  • Loading branch information
barisusakli committed Dec 21, 2017
1 parent 25c04e5 commit 71dfb32
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/persona.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
});
}
Expand Down

0 comments on commit 71dfb32

Please sign in to comment.