DEV: Run prettier

This commit is contained in:
Jarek Radosz 2019-11-12 12:07:19 +01:00
parent 9b841ea83f
commit 17bca00661
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,10 @@ export default {
$(".lazyYT", $elem).lazyYT({
onPlay(e, $el) {
// don't cloak posts that have playing videos in them
const postId = parseInt($el.closest("article").data("post-id"), 10);
const postId = parseInt(
$el.closest("article").data("post-id"),
10
);
if (postId) {
api.preventCloak(postId);
}