Ignore the randomly generated classname.

This commit is contained in:
Brahma Dev 2023-09-29 21:42:15 +00:00
parent 0b83fbb7ce
commit 1c53ce91f0

View File

@ -66,8 +66,7 @@ if (!SERVER_RENDERED) {
if (target.nodeName !== 'SPAN' || state.hoverTimeout !== undefined) {
return;
}
if (target.className !== 'cm-variable-valid') {
if (!target.classList.contains('cm-variable-valid')) {
return;
}