1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-22 14:00:03 +00:00
Typically for JavaScript, initialising an object as an array doesn’t
break anything because an array is an object. Anyhow, it should be an
object in this case.
This commit is contained in:
Jermolene 2015-05-02 17:22:23 +01:00
parent 7667225840
commit 7866f9b2de

View File

@ -137,7 +137,7 @@ exports.enqueueTiddlerEvent = function(title,isDeleted) {
this.changeCount[title] = 1;
}
// Trigger events
this.eventListeners = this.eventListeners || [];
this.eventListeners = this.eventListeners || {};
if(!this.eventsTriggered) {
var self = this;
$tw.utils.nextTick(function() {