diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-05 12:54:46 +0300 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-05 12:54:46 +0300 |
commit | 8b16f1074ddb6ea6a5404d37409ab81002f28d52 (patch) | |
tree | aca5904f189a8353fd56942b2c28a2bfbdab7923 /app/assets/javascripts/repo/components/repo_preview.vue | |
parent | 8d14a95638d7d6b52254b192b3e54296e22fddc3 (diff) |
Refactored Highlighting mechanism
Diffstat (limited to 'app/assets/javascripts/repo/components/repo_preview.vue')
-rw-r--r-- | app/assets/javascripts/repo/components/repo_preview.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/repo/components/repo_preview.vue b/app/assets/javascripts/repo/components/repo_preview.vue index 2fe369a4693..514c7d9284c 100644 --- a/app/assets/javascripts/repo/components/repo_preview.vue +++ b/app/assets/javascripts/repo/components/repo_preview.vue @@ -28,6 +28,9 @@ export default { this.highlightFile(); }); }, + activeLine(e) { + this.lineHighlighter.highlightHash('#L' + Store.activeLine); + }, }, }; </script> |