Improve logging ability in new prevent-innerHTML scriptlet

This commit is contained in:
Raymond Hill 2025-03-19 12:43:36 -04:00
parent eda245a1a6
commit 18349292a6
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -67,6 +67,9 @@ export function preventInnerHTML(
} else if ( current.set ) {
current.set.call(this, a);
}
if ( safe.logLevel > 1 ) {
safe.uboLog(logPrefix, `Assigned:\n${a}`);
}
current.value = a;
},
});