Skip to content

Commit

Permalink
chore: update reaction no preview
Browse files Browse the repository at this point in the history
  • Loading branch information
alomerry committed Feb 14, 2024
1 parent 92e6ad1 commit ddaa385
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blog/src/components/container/Comment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ const emoji = [
"//unpkg.com/@waline/[email protected]/bilibili",
];
onMounted(() => {
const el = document.querySelector(".wl-reaction-img>img");
if (el) {
const els = document.querySelectorAll(".wl-reaction-img>img");
els.forEach((el) => {
el.classList.add("no-preview");
}
});
});
</script>

Expand Down

0 comments on commit ddaa385

Please sign in to comment.