mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-05 16:28:05 +00:00
Refactored wiki event mechanism to support multiple event types
This commit is contained in:
@@ -123,7 +123,7 @@ exports.startup = function() {
|
||||
var container = document.createElement("div");
|
||||
document.body.insertBefore(container,document.body.firstChild);
|
||||
renderTree.renderInDom(container);
|
||||
$tw.wiki.addEventListener("",function(changes) {
|
||||
$tw.wiki.addEventListener("change",function(changes) {
|
||||
renderTree.refreshInDom(changes);
|
||||
});
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user