Commit ed5dcec5 authored by Stan Hu's avatar Stan Hu Committed by Valery Sizov

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

Closes #2002
parent 94c2516a
...@@ -70,7 +70,7 @@ class @LineHighlighter ...@@ -70,7 +70,7 @@ class @LineHighlighter
@clearHighlight() @clearHighlight()
lineNumber = $(event.target).data('line-number') lineNumber = $(event.target).closest('a').data('line-number')
current = @hashToRange(@_hash) current = @hashToRange(@_hash)
unless current[0] && event.shiftKey unless current[0] && event.shiftKey
......
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