From c26f197462379a5e71e40e78c3d848c54832fb62 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sun, 15 Jan 2012 13:27:15 +0000 Subject: [PATCH] Fixed problem with external links --- js/StoryNavigator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/StoryNavigator.js b/js/StoryNavigator.js index 917559128..62bcbb961 100644 --- a/js/StoryNavigator.js +++ b/js/StoryNavigator.js @@ -14,7 +14,7 @@ var StoryNavigator = function(navigators) { }; StoryNavigator.prototype.navigateTo = function(title) { - var tiddlerHtml = this.navigators.store.renderTiddler("text/html","SimpleTemplate",title); + var tiddlerHtml = this.navigators.store.tiddlerExists(title) && this.navigators.store.renderTiddler("text/html","SimpleTemplate",title); if(tiddlerHtml) { var article = $("
").html(tiddlerHtml); article.appendTo("body");