1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 02:50:27 +00:00

Avoided using jQuery when bootstrapping the page

This commit is contained in:
Jeremy Ruston 2012-01-13 18:51:39 +00:00
parent 53562aa506
commit e046fd7cbf

View File

@ -106,8 +106,9 @@ var App = function() {
// Use the story navigator for all links
navigators.install("a","StoryNavigator");
// Open the PageTemplate
var div = $("<div/>").html(this.store.renderTiddler("text/html","PageTemplate"));
div.appendTo("body");
var div = document.createElement("div");
div.innerHTML = this.store.renderTiddler("text/html","PageTemplate");
document.body.appendChild(div);
}
};