Skip to content

Commit 17bc75e

Browse files
committedAug 23, 2023
chore: remove unused code
1 parent 30650bd commit 17bc75e

File tree

3 files changed

+1
-19
lines changed

3 files changed

+1
-19
lines changed
 

‎app.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
<NuxtLayout>
33
<NuxtPage />
44
</NuxtLayout>
5-
</template>
5+
</template>

‎components/Blog/Comment.vue

-13
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,5 @@ onMounted(() => {
1919
s.setAttribute('data-timestamp', +new Date())
2020
;(d.head || d.body).appendChild(s)
2121
})()
22-
window
23-
.matchMedia('(prefers-color-scheme: dark)')
24-
.addEventListener('change', ({ matches }) => {
25-
if (document.readyState == 'complete') {
26-
DISQUS.reset({ reload: true, config: disqus_config })
27-
}
28-
})
2922
})
3023
</script>
31-
32-
<style scoped>
33-
#disqus_thread a {
34-
background-color: #000;
35-
}
36-
</style>

‎pages/index.vue

-5
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,3 @@ setTimeout(() => {
4545
}, 100)
4646
</script>
4747

48-
<style>
49-
canvas {
50-
filter: blur(3px);
51-
}
52-
</style>

0 commit comments

Comments
 (0)
Please sign in to comment.