diff options
author | Nathaniel Catchpole <catch@35733.no-reply.drupal.org> | 2013-10-31 11:33:28 +0000 |
---|---|---|
committer | Nathaniel Catchpole <catch@35733.no-reply.drupal.org> | 2013-10-31 11:33:28 +0000 |
commit | 154db88b100cd6325bb9b873bb97d9f6fd7a1851 (patch) | |
tree | f6c6261ea5554e5f38226ae6d473194a8a2bc849 /core/modules/comment/js | |
parent | 3fc8919e3c0ca377e7c33be4f0d569bec8d73869 (diff) | |
download | drupal-154db88b100cd6325bb9b873bb97d9f6fd7a1851.tar.gz drupal-154db88b100cd6325bb9b873bb97d9f6fd7a1851.zip |
Issue #2113087 by rteijeiro: Incorrect use of Drupal.displace in comment module.
Diffstat (limited to 'core/modules/comment/js')
-rw-r--r-- | core/modules/comment/js/comment-new-indicator.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/comment/js/comment-new-indicator.js b/core/modules/comment/js/comment-new-indicator.js index 72c419e776f2..9b47dd9dd8a1 100644 --- a/core/modules/comment/js/comment-new-indicator.js +++ b/core/modules/comment/js/comment-new-indicator.js @@ -72,7 +72,7 @@ function processCommentNewIndicators($placeholders) { // If the URL points to the first new comment, then scroll to that // comment. if (window.location.hash === '#new') { - window.scrollTo(0, $comment.offset().top - Drupal.displace().top); + window.scrollTo(0, $comment.offset().top - Drupal.displace.offsets.top); } } } |