client/home: fix featured WEBMs being unclickable
This commit is contained in:
parent
234afc8dfe
commit
795891767e
1 changed files with 5 additions and 0 deletions
|
@ -62,6 +62,11 @@ class HomeView {
|
||||||
this._postNotesOverlay = new PostNotesOverlayControl(
|
this._postNotesOverlay = new PostNotesOverlayControl(
|
||||||
this._postContainerNode.querySelector('.post-overlay'),
|
this._postContainerNode.querySelector('.post-overlay'),
|
||||||
postInfo.featuredPost);
|
postInfo.featuredPost);
|
||||||
|
|
||||||
|
if (postInfo.featuredPost.type === 'video'
|
||||||
|
|| postInfo.featuredPost.type === 'flash') {
|
||||||
|
this._postContentControl.disableOverlay();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue