From 3d17d5c4d5d14d62e877a77c0ab3aedb73aa3f79 Mon Sep 17 00:00:00 2001 From: Bramus! Date: Mon, 13 Jun 2022 17:41:14 +0200 Subject: [PATCH] Use Stable Channel Browser Logos Polled is the WPT data of the stable releases. Therefore the results overview should also show the logos of those stable releases. --- bikeshed/wpt/wptScript.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bikeshed/wpt/wptScript.js b/bikeshed/wpt/wptScript.js index 3725548bf1..c7f2dd7b64 100644 --- a/bikeshed/wpt/wptScript.js +++ b/bikeshed/wpt/wptScript.js @@ -90,14 +90,14 @@ function formatWptResult({name, version, passes, total}) { const shortVersion = /^\d+/.exec(version); const icon = [] - if(name == "Chrome") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/chrome-dev_64x64.png"})); - if(name == "Edge") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/edge-dev_64x64.png"})); - if(name == "Safari") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/safari-preview_64x64.png"})); - if(name == "Firefox") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/firefox-nightly_64x64.png"})); + if(name == "Chrome") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/chrome_64x64.png"})); + if(name == "Edge") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/edge_64x64.png"})); + if(name == "Safari") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/safari_64x64.png"})); + if(name == "Firefox") icon.push(el('img', {alt:"", src:"https://wpt.fyi/static/firefox_64x64.png"})); return el('li', {"class":passClass}, el('nobr', {'class':'browser'}, ...icon, ` ${name} ${shortVersion}`), el('br', {}), el('nobr', {'class':'pass-rate'}, `${passes}/${total}`) ); -} \ No newline at end of file +}