Skip to content

Commit

Permalink
fix: 主题颜色切换时的JS错误
Browse files Browse the repository at this point in the history
  • Loading branch information
AirboZH committed Sep 12, 2023
1 parent 1000d50 commit 6763c56
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/js/modules/halo.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
export default {
flipMode: () => {
if (
document
.querySelector('#comment div div')
.shadowRoot.querySelector('.halo-comment-widget').classList != null
) {
if (document.querySelector('#comment div div')) {
let commentDOMclass = document
.querySelector('#comment div div')
.shadowRoot.querySelector('.halo-comment-widget').classList;
Expand Down

0 comments on commit 6763c56

Please sign in to comment.