aboutsummaryrefslogtreecommitdiffstats
path: root/data/lib/util.js
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@redhat.com>2011-05-07 00:53:06 +0200
committerMatěj Cepl <mcepl@redhat.com>2011-06-05 14:53:46 +0200
commit8e501abd49e5aeac70a84ceef96a72b5078df221 (patch)
tree2cb8df170588aaee5872b752d11d6a6c39a766cc /data/lib/util.js
parent59d6e1bf4e439febbc40c15486303e12febb7e42 (diff)
downloadbugzilla-triage-8e501abd49e5aeac70a84ceef96a72b5078df221.tar.gz
Another massive cleanup and simplification of tweak scripts.
bugs on bugzilla.mozilla.org now work as well, although the history is still not shown inline, which remains for 1.1. Fixes #88
Diffstat (limited to 'data/lib/util.js')
-rw-r--r--data/lib/util.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/data/lib/util.js b/data/lib/util.js
index 11cf3bc..1c3e607 100644
--- a/data/lib/util.js
+++ b/data/lib/util.js
@@ -160,6 +160,9 @@ function createDeadLink (id, text, parent, callback, params, before, covered, ac
else if (before === "dash") {
locParent.insertBefore(document.createTextNode("\u00A0-\u00A0"), newAElem);
}
+ else if (before === "pipe") {
+ locParent.insertBefore(document.createTextNode("\u00A0|\u00A0"), newAElem);
+ }
else if (before === "parens") {
locParent.appendChild(document.createTextNode(")"));
locParent.insertBefore(document.createTextNode("("), newAElem);