Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed new event registration according to obsidian documentation
Obsidian docs says: > Any registered event handlers need to be detached whenever the plugin unloads. The safest way to make sure this happens is to use the registerEvent() method. But it's not used. I changed it. https://docs.obsidian.md/Plugins/Events
- Loading branch information