mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-22 14:00: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:
parent
7667225840
commit
7866f9b2de
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user