summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Tyson <mtyson@redhat.com>2014-08-27 08:46:13 +0200
committerByron Jones <glob@mozilla.com>2014-08-27 08:46:13 +0200
commit2251b986b5ffef72b2ce06e6f90652c3ff598a38 (patch)
treed7f02dda35edba33d81c53a8680eb58b0421011f
parent020c0fab457181a1c131c9183accabaeec354ed3 (diff)
downloadbugzilla-2251b986b5ffef72b2ce06e6f90652c3ff598a38.tar.gz
bugzilla-2251b986b5ffef72b2ce06e6f90652c3ff598a38.tar.xz
Bug 1059088: Inline history can be shown out-of-order when two changes occur in the same second
-rw-r--r--extensions/InlineHistory/web/inline-history.js2
1 files changed, 1 insertions, 1 deletions
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 {