1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Dynaview: Fix crash

This commit is contained in:
Jermolene 2019-03-16 13:25:45 +00:00
parent f4fe254038
commit a89991cc46

View File

@ -239,7 +239,7 @@ function findTopmostTiddler() {
return {
element: topmostElement,
offset: -topmostElementTop,
title: topmostElement.getAttribute("data-tiddler-title")
title: topmostElement ? topmostElement.getAttribute("data-tiddler-title") : null
};
}