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:
parent
e2a0955ced
commit
c26f197462
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user