diff --git a/themes/bootstrap3/templates/channels/channelList.phtml b/themes/bootstrap3/templates/channels/channelList.phtml
index 2e00f8c1073c13ffa0d2b67c8ae5df6c7af7e060..33502f211b80db46e5a89e5cc39a4b417e1f2610 100644
--- a/themes/bootstrap3/templates/channels/channelList.phtml
+++ b/themes/bootstrap3/templates/channels/channelList.phtml
@@ -58,3 +58,7 @@
     <li><a href="<?=current(explode('?', $this->serverUrl(true)))?>?<?=empty($queryParams) ? '' : $this->escapeHtmlAttr($queryParams . '&')?>channelProvider=<?=urlencode($channel['providerId']) ?>&amp;channelToken=<?=urlencode($channel['token']) ?>&amp;layout=lightbox" data-token="<?=$channel['token'] ?>"><?=$this->escapeHtml($channel['title'])?></a></li>
   <?php endif; ?>
 <?php endforeach; ?>
+<?php if ($insideButton): // close final button if necessary ?>
+    </ul>
+  </div>
+<?php endif; ?>
\ No newline at end of file