mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-30 09:28:01 +00:00
Avoided using jQuery when bootstrapping the page
This commit is contained in:
@@ -106,8 +106,9 @@ var App = function() {
|
|||||||
// Use the story navigator for all links
|
// Use the story navigator for all links
|
||||||
navigators.install("a","StoryNavigator");
|
navigators.install("a","StoryNavigator");
|
||||||
// Open the PageTemplate
|
// Open the PageTemplate
|
||||||
var div = $("<div/>").html(this.store.renderTiddler("text/html","PageTemplate"));
|
var div = document.createElement("div");
|
||||||
div.appendTo("body");
|
div.innerHTML = this.store.renderTiddler("text/html","PageTemplate");
|
||||||
|
document.body.appendChild(div);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user