From 2838502fb3e43401e873dd853cc9338e80c6d02a Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Tue, 20 Jun 2017 18:52:07 +0000 Subject: [PATCH] this code is reached only with query string --- icedeb.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/icedeb.js b/icedeb.js index 0d42d9c..2d2a10e 100644 --- a/icedeb.js +++ b/icedeb.js @@ -137,9 +137,7 @@ function link_clicked(e) { url = 'https://lists.debian.org/msgid-search/' + clip; break; case 'ddpo': - url = 'https://qa.debian.org/developer.php'; - if (clip != '') - url += '?login=' + clip; + url = 'https://qa.debian.org/developer.php?login=' + clip; break; case 'dmd': url = 'https://udd.debian.org/dmd.cgi?email1=' + clip; @@ -148,9 +146,7 @@ function link_clicked(e) { url = 'https://buildd.debian.org/' + clip; break; case 'security': - url = 'https://security-tracker.debian.org/'; - if (clip != '') - url += 'tracker/' + clip; + url = 'https://security-tracker.debian.org/tracker/' + clip; break; } -- 2.39.5