A platform for community discussion. Free, open, simple.
DEV: Run prettier
Jarek Radosz17bca0066175
diff --git a/plugins/lazy-yt/assets/javascripts/initializers/lazyYT.js.es6 b/plugins/lazy-yt/assets/javascripts/initializers/lazyYT.js.es6index 4afe9a07752..3d913e77c02 100644--- a/plugins/lazy-yt/assets/javascripts/initializers/lazyYT.js.es6+++ b/plugins/lazy-yt/assets/javascripts/initializers/lazyYT.js.es6@@ -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);}