Skip to content
Extraits de code Groupes Projets
Valider d5207d61 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Merge pull request #4752 from svbergerem/fix-timeago-mobile

Fix timeago on mobile devices. Fix missing space
parents c9cd5460 655fbfcd
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -126,10 +126,12 @@ $(document).ready(function(){
link.addClass('active');
existingCommentsContainer.show();
scrollToOffset(parent, commentsContainer());
commentsContainer().find('time.timeago').timeago();
}
});
} else {
existingCommentsContainer.show();
existingCommentsContainer.find('time.timeago').timeago();
}
link.addClass('active');
......@@ -141,10 +143,10 @@ $(document).ready(function(){
parent.append(data);
link.addClass('active');
scrollToOffset(parent, commentsContainer());
commentsContainer().find('time.timeago').timeago();
}
});
}
});
var scrollToOffset = function(parent, commentsContainer){
......@@ -232,6 +234,7 @@ $(document).ready(function(){
reactionLink.text(reactionLink.text().replace(/(\d+)/, function(match){ return parseInt(match) + 1; }));
commentCount.text(commentCount.text().replace(/(\d+)/, function(match){ return parseInt(match) + 1; }));
commentActionLink.addClass("inactive");
bottomBar.find('time.timeago').timeago();
}, 'html');
});
......
......@@ -31,6 +31,7 @@ en:
months: "%d months"
year: "about a year"
years: "%d years"
wordSeparator: " "
my_activity: "My Activity"
my_stream: "Stream"
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter