From 2251b986b5ffef72b2ce06e6f90652c3ff598a38 Mon Sep 17 00:00:00 2001 From: Matt Tyson Date: Wed, 27 Aug 2014 14:46:13 +0800 Subject: Bug 1059088: Inline history can be shown out-of-order when two changes occur in the same second --- extensions/InlineHistory/web/inline-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js index 685798ec0..019dc1e29 100644 --- a/extensions/InlineHistory/web/inline-history.js +++ b/extensions/InlineHistory/web/inline-history.js @@ -102,7 +102,7 @@ var inline_history = { var text = commentTimes[j].textContent || commentTimes[j].innerText; var mainTime = this.trim(text); - if (ih_activity_sort_order == 'oldest_to_newest' ? time > mainTime : time < mainTime) { + if (ih_activity_sort_order == 'oldest_to_newest' ? time >= mainTime : time <= mainTime) { if (j < commentTimes.length - 1) { continue; } else { -- cgit v1.2.3-24-g4f1b