Plugin: for now just eager-load everything, fix #23, fix #24

This commit is contained in:
Val Packett 2023-08-19 17:54:51 -03:00
parent b90e64e05c
commit e97a4451c6

View file

@ -109,6 +109,8 @@ Formatted with `deno fmt`.
// Certain tiddlers must NEVER use _is_skinny lazy-loading
function mustEagerLoad(tid) {
// XXX: for now it really is just kinda more trouble than it's worth :(
if (location.hash !== '##lazy') return true;
// e.g. $:/DefaultTiddlers
if (tid.title.startsWith('$:')) return true;
// e.g. $:/tags/Macro, $:/tags/ManifestIcon