diff options
Diffstat (limited to 'addons/mail/static/src/js/thread_widget.js')
| -rw-r--r-- | addons/mail/static/src/js/thread_widget.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/thread_widget.js b/addons/mail/static/src/js/thread_widget.js index aff6b27bfdd..e6da87c6dba 100644 --- a/addons/mail/static/src/js/thread_widget.js +++ b/addons/mail/static/src/js/thread_widget.js @@ -284,12 +284,12 @@ var ThreadWidget = Widget.extend({ /** * Scrolls the thread to a given message * - * @param {integer} options.messageID the ID of the message to scroll to + * @param {integer} options.msgID the ID of the message to scroll to * @param {integer} [options.duration] * @param {boolean} [options.onlyIfNecessary] */ scrollToMessage: function (options) { - var $target = this.$('.o_thread_message[data-message-id="' + options.messageID + '"]'); + var $target = this.$('.o_thread_message[data-message-id="' + options.msgID + '"]'); if (options.onlyIfNecessary) { var delta = $target.parent().height() - $target.height(); var offset = delta < 0 ? |
