mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-08 19:06:15 -08:00
update docs
This commit is contained in:
1 parent
ab57157371
commit
17f6d46fe0
103 files changed
+1780
-1753
No files matched your search
@@ -2,7 +2,7 @@
|
||||
if (window['run-code-init']) return;
|
||||
window['run-code-init'] = true;
|
||||
document.addEventListener('click', (event) => {
|
||||
if (event.target.className === 'run-code') {
|
||||
if (event.target.className === 'run-code' || event.target.getAttribute('classname') === 'run-code') {
|
||||
event.preventDefault();
|
||||
const codeElement = event.target.nextElementSibling.querySelector('pre code');
|
||||
if (codeElement) {
|
||||
|
||||
Reference in new issue
Block a user