diff --git a/app/views/shared/_media_items.html.haml b/app/views/shared/_media_items.html.haml
index afc954d9..e4ef3c0d 100644
--- a/app/views/shared/_media_items.html.haml
+++ b/app/views/shared/_media_items.html.haml
@@ -5,7 +5,7 @@
- else
%ul.nav.nav-tabs{ 'role'=>'tablist' }
- commercials.each.with_index(1) do |commercial, index|
- %li{class: "#{active if (index == 1)}"}
+ %li{class: "#{'active' if (index == 1)}"}
%a{ 'href'=>"##{index}", 'role'=>'tab', 'data-toggle'=>'tab' }
= index
.tab-content