Open shemetz opened 2 years ago
The error in the code is around here:
function handleSceneClicked(event, document)
{
if (document.documentName != "Scene") {
return false;
}
When clicking a macro journal link, the document is undefined, and the document name can be found in event.currentTarget.dataset.type
.
the handleSceneClicked code, at least in V10 if not also earlier, throws an error when trying to click on any journal link (including macros for example):