diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-12-23 12:47:03 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-12-23 12:47:03 +0100 |
commit | 772bec6789ed4c6ee460577fd567717fac1250d4 (patch) | |
tree | 3a2c854c6731552e162a892b5f7cc1155b1365d7 /program/js/list.js | |
parent | 7b39845b3a6e7dd9151a41f2026b66b39648d110 (diff) |
Make addEventListener() chainable for better performance and compact code
Replace deperecated row_init usage with addEventListener('initrow')
Diffstat (limited to 'program/js/list.js')
-rw-r--r-- | program/js/list.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/js/list.js b/program/js/list.js index 54daa983e..2ea4d2190 100644 --- a/program/js/list.js +++ b/program/js/list.js @@ -97,6 +97,8 @@ init: function() if (this.keyboard) rcube_event.add_listener({event:'keydown', object:this, method:'key_press'}); } + + return this; }, |