mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-07 05:18:03 +00:00
Typo
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:
@@ -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() {
|
||||
|
Reference in New Issue
Block a user