mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 23:03:15 +00:00
Dynaview: Fix crash
This commit is contained in:
parent
f4fe254038
commit
a89991cc46
|
@ -239,7 +239,7 @@ function findTopmostTiddler() {
|
||||||
return {
|
return {
|
||||||
element: topmostElement,
|
element: topmostElement,
|
||||||
offset: -topmostElementTop,
|
offset: -topmostElementTop,
|
||||||
title: topmostElement.getAttribute("data-tiddler-title")
|
title: topmostElement ? topmostElement.getAttribute("data-tiddler-title") : null
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user