diff --git a/templates/mobile/common/thumbnail.html.twig b/templates/mobile/common/thumbnail.html.twig
index c8211566c1..9a486a6fee 100644
--- a/templates/mobile/common/thumbnail.html.twig
+++ b/templates/mobile/common/thumbnail.html.twig
@@ -33,15 +33,15 @@
{% if record_type == 'VIDEO_MP4' or record_type == 'VIDEO_FLV' %}
{% elseif record_type == 'FLEXPAPER' %}
{% elseif record_type == 'AUDIO_MP3' %}
{% else %}
{% elseif record_type == 'FLEXPAPER' %}
{% elseif record_type == 'AUDIO_MP3' %}
{% else %}
{% elseif record_type == 'FLEXPAPER' %}
{% elseif record_type == 'AUDIO_MP3' %}
{% else %}
{% set fit_size = fitIn(