mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Run prettier
This commit is contained in:
@@ -14,7 +14,10 @@ export default {
|
|||||||
$(".lazyYT", $elem).lazyYT({
|
$(".lazyYT", $elem).lazyYT({
|
||||||
onPlay(e, $el) {
|
onPlay(e, $el) {
|
||||||
// don't cloak posts that have playing videos in them
|
// 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) {
|
if (postId) {
|
||||||
api.preventCloak(postId);
|
api.preventCloak(postId);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user