mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +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) {
|
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) {
|
if(tiddlerHtml) {
|
||||||
var article = $("<article/>").html(tiddlerHtml);
|
var article = $("<article/>").html(tiddlerHtml);
|
||||||
article.appendTo("body");
|
article.appendTo("body");
|
||||||
|
Loading…
Reference in New Issue
Block a user