1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-30 07:50:47 +00:00

Fixed unrendered field link view links

Fixing #39
This commit is contained in:
Jeremy Ruston 2012-10-28 20:43:33 +00:00
parent f7d765da55
commit 46a1dd662c

View File

@ -49,7 +49,7 @@ exports.executeMacro = function() {
// Figure out which viewer to use
// TODO: Tiddler field modules should be able to specify a field type from which the viewer is derived
var Viewer;
if(tiddler && this.params.format) {
if(this.params.format) {
Viewer = this.wiki.macros.view.fieldviewers[this.params.format];
}
if(!Viewer) {