mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 16:57:05 +00:00
Fix problem with missing link logic
See https://github.com/Jermolene/TiddlyWiki5/commit/7908e10488cc4280dd8e4f40 5bcb09f2fb6d3524#commitcomment-17174321
This commit is contained in:
@@ -37,7 +37,7 @@ LinkWidget.prototype.render = function(parent,nextSibling) {
|
||||
// Get the value of the tv-wikilinks configuration macro
|
||||
var wikiLinksMacro = this.getVariable("tv-wikilinks"),
|
||||
useWikiLinks = wikiLinksMacro ? (wikiLinksMacro.trim() !== "no") : true,
|
||||
missingLinksEnabled = !(this.hideMissingLinks && this.isMissing);
|
||||
missingLinksEnabled = !(this.hideMissingLinks && this.isMissing && !this.isShadow);
|
||||
// Render the link if required
|
||||
if(useWikiLinks && missingLinksEnabled) {
|
||||
this.renderLink(parent,nextSibling);
|
||||
|
||||
Reference in New Issue
Block a user