Skip to content

Commit

Permalink
fix: preview code has incorrect div
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed Jun 8, 2022
1 parent d6161f5 commit d7e65ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const exportOptions = useStorage("export-options", {})
const computedInput = computed(() => tweetsInput.value.filter((i) => i != ""))
const getTweetsHTML = () => {
let tweets = document.querySelectorAll(".tweet-container")
let tweets = document.querySelectorAll(".tweet-container > div")
let innerHTMLs = ""
tweets.forEach((i) => {
innerHTMLs += i.innerHTML
Expand Down

0 comments on commit d7e65ba

Please sign in to comment.