summaryrefslogtreecommitdiffstats
path: root/js/duplicates.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/duplicates.js')
-rw-r--r--js/duplicates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/duplicates.js b/js/duplicates.js
index b1e94a8a6..ccad539e3 100644
--- a/js/duplicates.js
+++ b/js/duplicates.js
@@ -22,7 +22,7 @@
window.addEventListener('load', loadData, false);
// The base URL of this Bugzilla installation; derived from the page's URL.
-var gBaseURL = window.location.href.replace(/duplicates\.(jar!|xul).*/, "");
+var gBaseURL = window.location.href.replace(/(jar:)?(.*?)duplicates\.(jar!|xul).*/, "$2");
function loadData()
{