Skip to content

Commit

Permalink
fix gl thumb ext
Browse files Browse the repository at this point in the history
  • Loading branch information
pissang committed Aug 5, 2020
1 parent 29b0333 commit 8bf4193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/javascripts/chart-list.js
Expand Up @@ -200,7 +200,7 @@ $(document).ready(function() {
$link.append('<h4 class="chart-title">' + title + '</h4>');

var themePostfix = (isGL || !params.theme) ? '' : ('-' + params.theme);
var ext = canUseWebP ? 'webp' : 'png';
var ext = isGL ? 'jpg' : canUseWebP ? 'webp' : 'png';

// load chart image
var $chartArea = $('<img class="chart-area" src="../images/placeholder.jpg?_v_=' + CDN_PAY_VERSION
Expand Down

0 comments on commit 8bf4193

Please sign in to comment.