mirror of
https://github.com/lostpaul/obsidian-folder-notes.git
synced 2026-07-22 07:40:24 +00:00
Remove css classes on unload
This commit is contained in:
parent
d4e49835ff
commit
23094f2adb
1 changed files with 3 additions and 0 deletions
|
|
@ -255,6 +255,9 @@ export default class FolderNotesPlugin extends Plugin {
|
|||
console.log('unloading folder notes plugin');
|
||||
this.observer.disconnect();
|
||||
document.body.classList.remove('folder-notes-plugin');
|
||||
document.body.classList.remove('folder-note-underline');
|
||||
document.body.classList.remove('hide-folder-note');
|
||||
document.body.classList.remove('fn-whitespace-collapsing');
|
||||
}
|
||||
|
||||
async loadSettings() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue