Update xExtension-ColorfulList/static/script.js

Per Frenzie comment/suggestion

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
This commit is contained in:
iClaud 2023-11-17 17:47:36 +08:00 committed by GitHub
parent da42608eb8
commit 42baabc0e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
$(document).ready(function(){
document.addEventListener('DOMContentLoaded', function(){
function monitorEntry(monitorCallback) {
const targetNode = document.getElementById('stream');
const config = { attributes: false, childList: true, subtree: false};