Update vault.js

This commit is contained in:
Tigor Hutasuhut 2023-08-30 13:31:23 +07:00
parent 6e92d8a88b
commit 196c0c5ba0
1 changed files with 6 additions and 6 deletions

View File

@ -10,9 +10,9 @@
// ==/UserScript==
VM.observe(document, () => {
const codeMirror = node.querySelector(".CodeMirror");
if (codeMirror) {
codeMirror.style.height = "70vh";
}
});
document.addEventListener('mousemove', () => {
const codeMirror = document.querySelector('.CodeMirror')
if (codeMirror) {
codeMirror.style.height = '70vh'
}
})