From 8bf419356cdb3bf5f19d30399259a41deefc4aea Mon Sep 17 00:00:00 2001 From: pissang Date: Wed, 5 Aug 2020 22:05:35 +0800 Subject: [PATCH] fix gl thumb ext --- public/javascripts/chart-list.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/javascripts/chart-list.js b/public/javascripts/chart-list.js index 81a7b7aa..48d70092 100644 --- a/public/javascripts/chart-list.js +++ b/public/javascripts/chart-list.js @@ -200,7 +200,7 @@ $(document).ready(function() { $link.append('

' + title + '

'); var themePostfix = (isGL || !params.theme) ? '' : ('-' + params.theme); - var ext = canUseWebP ? 'webp' : 'png'; + var ext = isGL ? 'jpg' : canUseWebP ? 'webp' : 'png'; // load chart image var $chartArea = $('