From: Kohei Yoshino Date: Wed, 16 Jan 2019 18:08:16 +0000 (-0500) Subject: Bug 1520495 followup - Crash count table does not detect uplift links in Markdown... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c23f4a0432885fbfdaf4fa209f52e625cdcd755d;p=thirdparty%2Fbugzilla.git Bug 1520495 followup - Crash count table does not detect uplift links in Markdown comments --- diff --git a/extensions/BMO/web/js/firefox-crash-table.js b/extensions/BMO/web/js/firefox-crash-table.js index 4a9d9fcbe..6735fa634 100644 --- a/extensions/BMO/web/js/firefox-crash-table.js +++ b/extensions/BMO/web/js/firefox-crash-table.js @@ -157,7 +157,7 @@ window.addEventListener('DOMContentLoaded', () => { let commentTagSelector = ""; let x = ""; if (oldWay) { - const parts = parentId.value.split("_"); + const parts = parentId.split("_"); if (parts.length == 3) { const num = parts[2]; const ctag = "comment_tag_" + num; @@ -165,7 +165,7 @@ window.addEventListener('DOMContentLoaded', () => { x = "x" + String.fromCharCode(160); //   } } else { - const parts = parentId.value.split("-"); + const parts = parentId.split("-"); if (parts.length == 2) { const num = parts[1]; const ctag = "ctag-" + num;