diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-05-17 13:43:07 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-05-17 13:43:07 +0000 |
commit | b957df95f72f194d7d2dd9468c2fe9368c8dc755 (patch) | |
tree | e28eee328e6e89555cb212980aa3d16af8472fdd | |
parent | 55f6b1ed74f303e2b8812437b4ae5226599562d7 (diff) | |
parent | 0f902f7e8780825b8cb32cabb9b5b6b1c6c697b7 (diff) | |
download | gitlab-ce-b957df95f72f194d7d2dd9468c2fe9368c8dc755.tar.gz |
Merge branch 'dm-scroll-to-blob-user-content' into 'master'
Scroll to anchor when blob content is loaded
See merge request !11427
-rw-r--r-- | app/assets/javascripts/blob/viewer/index.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/blob/viewer/index.js b/app/assets/javascripts/blob/viewer/index.js index 849da633c89..54b85e47358 100644 --- a/app/assets/javascripts/blob/viewer/index.js +++ b/app/assets/javascripts/blob/viewer/index.js @@ -114,6 +114,7 @@ export default class BlobViewer { $(viewer).syntaxHighlight(); this.$fileHolder.trigger('highlight:line'); + gl.utils.handleLocationHash(); this.toggleCopyButtonState(); }) |