Skip to content
Snippets Groups Projects
Commit ed5dcec5 authored by Stan Hu's avatar Stan Hu Committed by Valery Sizov
Browse files

Fix bug where clicking on the link icon on a file would result in "L#undefined" in the URL

Closes #2002
parent 94c2516a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment