mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Fix problem with missing link logic
See https://github.com/Jermolene/TiddlyWiki5/commit/7908e10488cc4280dd8e4f40 5bcb09f2fb6d3524#commitcomment-17174321
This commit is contained in:
parent
3463a576f2
commit
4dd701c2dd
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user