From 7866f9b2de5ad06f2d68829b906d4c2cb0a910cd Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 2 May 2015 17:22:23 +0100 Subject: [PATCH] Typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index bb42d5f8a..2eef93464 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -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() {