Commit b957df95 authored by Douwe Maan's avatar Douwe Maan

Merge branch 'dm-scroll-to-blob-user-content' into 'master'

Scroll to anchor when blob content is loaded

See merge request !11427
parents 55f6b1ed 0f902f7e
...@@ -114,6 +114,7 @@ export default class BlobViewer { ...@@ -114,6 +114,7 @@ export default class BlobViewer {
$(viewer).syntaxHighlight(); $(viewer).syntaxHighlight();
this.$fileHolder.trigger('highlight:line'); this.$fileHolder.trigger('highlight:line');
gl.utils.handleLocationHash();
this.toggleCopyButtonState(); this.toggleCopyButtonState();
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment