summaryrefslogtreecommitdiff
path: root/program/js/common.js
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-20 10:32:52 +0200
committerAleksander Machniak <alec@alec.pl>2013-05-20 10:32:52 +0200
commit2355045dedc96274ca6b1c29612006e736b6f540 (patch)
treeb573b7bd48d40e21d26c1d21f9259508e14f7a90 /program/js/common.js
parentc8bc8c97f3f6e5c04fa7b459bdb1c922d7f4e6ad (diff)
Change Reply-All button label/title when mailing list is detected (#1488938)
Diffstat (limited to 'program/js/common.js')
-rw-r--r--program/js/common.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/program/js/common.js b/program/js/common.js
index f7c0a7536..53dce8cc2 100644
--- a/program/js/common.js
+++ b/program/js/common.js
@@ -298,8 +298,7 @@ addEventListener: function(evt, func, obj)
if (!this._events[evt])
this._events[evt] = [];
- var e = {func:func, obj:obj ? obj : window};
- this._events[evt][this._events[evt].length] = e;
+ this._events[evt].push({func:func, obj:obj ? obj : window});
},
/**