fix: run updateCopy immediately

This commit is contained in:
Strix 2023-12-24 03:05:55 +01:00
parent de41ed3306
commit 32458c7fd4
No known key found for this signature in database
GPG key ID: 5F35B3B8537287A7

View file

@ -13,6 +13,7 @@
}
})
}
updateCopy();
window.x0?.registerModuleUpdateHook("copy", updateCopy);
window.x0?.registerModuleRemoveHook("copy", () => {