mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-16 16:16:43 +10:00
Fix bug where clicking on the link icon on a file would result in "L#undefined" in the URL
Closes #2002
This commit is contained in:
@@ -70,7 +70,7 @@ class @LineHighlighter
|
||||
|
||||
@clearHighlight()
|
||||
|
||||
lineNumber = $(event.target).data('line-number')
|
||||
lineNumber = $(event.target).closest('a').data('line-number')
|
||||
current = @hashToRange(@_hash)
|
||||
|
||||
unless current[0] && event.shiftKey
|
||||
|
||||
Reference in New Issue
Block a user