mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
Fixed the view macro to fail silently if the target tiddler doesn't exist
This commit is contained in:
parent
fc19a77353
commit
6b6def8725
@ -35,7 +35,7 @@ exports.executeMacro = function() {
|
|||||||
} else {
|
} else {
|
||||||
switch(field) {
|
switch(field) {
|
||||||
case "text":
|
case "text":
|
||||||
value = "The tiddler '" + this.tiddlerTitle + "' does not exist";
|
value = "";
|
||||||
break;
|
break;
|
||||||
case "title":
|
case "title":
|
||||||
value = this.tiddlerTitle;
|
value = this.tiddlerTitle;
|
||||||
|
Loading…
Reference in New Issue
Block a user