From: Damyan Ivanov Date: Tue, 20 Jun 2017 18:52:07 +0000 (+0000) Subject: this code is reached only with query string X-Git-Tag: 2.0~11 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=2838502fb3e43401e873dd853cc9338e80c6d02a;p=icedeb.git this code is reached only with query string --- 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; }