From 795891767ed7c96ec5d1d7dceba11f1ef1d62be2 Mon Sep 17 00:00:00 2001 From: rr- Date: Sat, 9 Sep 2017 23:42:00 +0200 Subject: [PATCH] client/home: fix featured WEBMs being unclickable --- client/js/views/home_view.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/js/views/home_view.js b/client/js/views/home_view.js index 00ffc7d..b8df015 100644 --- a/client/js/views/home_view.js +++ b/client/js/views/home_view.js @@ -62,6 +62,11 @@ class HomeView { this._postNotesOverlay = new PostNotesOverlayControl( this._postContainerNode.querySelector('.post-overlay'), postInfo.featuredPost); + + if (postInfo.featuredPost.type === 'video' + || postInfo.featuredPost.type === 'flash') { + this._postContentControl.disableOverlay(); + } } }