1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-19 00:04:51 +00:00

Fixed problem with external links

This commit is contained in:
Jeremy Ruston 2012-01-15 13:27:15 +00:00
parent e2a0955ced
commit c26f197462

View File

@ -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 = $("<article/>").html(tiddlerHtml);
article.appendTo("body");