diff options
| author | bobzel <zzzman@gmail.com> | 2025-04-08 14:56:44 -0400 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2025-04-08 14:56:44 -0400 |
| commit | dd5c4e9b427196f8b0a34774a4667cfcaf6c8edf (patch) | |
| tree | 7528b82aedfad05e0e9335c22068bac6608b21f6 /src/client/views/PropertiesButtons.tsx | |
| parent | d60734c4cdd8fe64d50e3de32182cc6b04afc747 (diff) | |
change isLightbox to be a datadoc flag.
Diffstat (limited to 'src/client/views/PropertiesButtons.tsx')
| -rw-r--r-- | src/client/views/PropertiesButtons.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/PropertiesButtons.tsx b/src/client/views/PropertiesButtons.tsx index 8f18de33f..6778a6691 100644 --- a/src/client/views/PropertiesButtons.tsx +++ b/src/client/views/PropertiesButtons.tsx @@ -293,7 +293,7 @@ export class PropertiesButtons extends React.Component { @computed get onClickVal() { const linkButton = IsFollowLinkScript(this.selectedDoc.onClick); const followLoc = this.selectedDoc._followLinkLocation; - const linkedToLightboxView = () => Doc.Links(this.selectedDoc).some(link => Doc.getOppositeAnchor(link, this.selectedDoc)?._isLightbox); + const linkedToLightboxView = () => Doc.Links(this.selectedDoc).some(link => Doc.getOppositeAnchor(link, this.selectedDoc)?.$isLightbox); if (followLoc === OpenWhere.lightbox && !linkedToLightboxView()) return 'linkInPlace'; if (linkButton && followLoc === OpenWhere.addRight) return 'linkOnRight'; |
