From 1c0d69b4115f41f689453e69eb4e6d2c1b7222b6 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 2 Oct 2012 23:09:55 +0800 Subject: Bug 796043: Inline history eats your comment if you quote a duplicated bug --- extensions/InlineHistory/web/inline-history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/InlineHistory/web') diff --git a/extensions/InlineHistory/web/inline-history.js b/extensions/InlineHistory/web/inline-history.js index 973ae09ec..0d38edf7f 100644 --- a/extensions/InlineHistory/web/inline-history.js +++ b/extensions/InlineHistory/web/inline-history.js @@ -14,7 +14,7 @@ var inline_history = { Dom = YAHOO.util.Dom; // remove 'has been marked as a duplicate of this bug' comments - var reDuplicate = /\*\*\* \S+ \d+ has been marked as a duplicate of this/; + var reDuplicate = /^\*\*\* \S+ \d+ has been marked as a duplicate of this/; var reBugId = /show_bug\.cgi\?id=(\d+)/; var comments = Dom.getElementsByClassName("bz_comment", 'div', 'comments'); for (var i = 1, il = comments.length; i < il; i++) { -- cgit v1.2.3-24-g4f1b