diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-21 15:24:47 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-01-21 15:24:47 -0500 |
| commit | d14b8eac678535cb4693635190fb86358c40a93e (patch) | |
| tree | 8ae2a879f0035baaec228f6ec734468564f9b463 /web/views | |
| parent | 2f12b448f534f82765ef78e743e9f419c2c10572 (diff) | |
| download | lingo-d14b8eac678535cb4693635190fb86358c40a93e.tar.gz lingo-d14b8eac678535cb4693635190fb86358c40a93e.tar.bz2 lingo-d14b8eac678535cb4693635190fb86358c40a93e.zip | |
Hide broken pfp images
Diffstat (limited to 'web/views')
| -rw-r--r-- | web/views/index.haml | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/web/views/index.haml b/web/views/index.haml index 186dd40..e605548 100644 --- a/web/views/index.haml +++ b/web/views/index.haml | |||
| @@ -19,6 +19,6 @@ | |||
| 19 | %td.score-index #{index+1}. | 19 | %td.score-index #{index+1}. |
| 20 | %td.score-pfp | 20 | %td.score-pfp |
| 21 | - if !score.avatar_url.nil? | 21 | - if !score.avatar_url.nil? |
| 22 | %img{ src: score.avatar_url } | 22 | %img{ src: score.avatar_url, onerror: "this.style='display:none'" } |
| 23 | %td.score-name= score.username | 23 | %td.score-name= score.username |
| 24 | %td.score-value= score.score | 24 | %td.score-value= score.score |
