assets/includes/fileread.html in jekyll-obsidian-1.0.6 vs assets/includes/fileread.html in jekyll-obsidian-1.0.7

- old
+ new

@@ -314,9 +314,10 @@ document.getElementById('note').style.display = 'flex'; } } function dispatchFileSelectEvt(filePath, heading) { + const EXPLORER = OBSIDIAN.querySelector('#explorer'); const detail = { filePath }; if (filePath.endsWith('.md')) { if (heading) detail.heading = heading; const event = new CustomEvent('obsidian_noteSelect', { detail }); document.dispatchEvent(event); \ No newline at end of file