mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-02-12 18:54:13 -08:00
Fix problem with missing link logic
See
7908e10488
5bcb09f2fb6d3524#commitcomment-17174321
This commit is contained in:
parent
3463a576f2
commit
4dd701c2dd
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue