更新 'main.js'
This commit is contained in:
@@ -65,10 +65,10 @@
|
|||||||
const text = node.innerText
|
const text = node.innerText
|
||||||
if (text === '开') {
|
if (text === '开') {
|
||||||
node.innerText = '关'
|
node.innerText = '关'
|
||||||
node.style = 'close'
|
node.className = 'close'
|
||||||
} else {
|
} else {
|
||||||
node.innerText = '开'
|
node.innerText = '开'
|
||||||
node.style = 'open'
|
node.className = 'open'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user