Remove name attribute from log line link

Name is only intended for form elements, also the ID is what is used by
the anchor link
This commit is contained in:
Nick Schonning 2013-01-14 20:16:16 -05:00
parent c7910d0917
commit 850b5148f9

View File

@ -186,7 +186,7 @@
unless payload.append
pathWithNumber = "#{url}#L#{number}"
p = document.createElement('p')
p.innerHTML = '<a href="%@" id="L%@" class="log-line-number" name="L%@">%@</a>%@'.fmt(pathWithNumber, number, number, number, line)
p.innerHTML = '<a href="%@" id="L%@" class="log-line-number">%@</a>%@'.fmt(pathWithNumber, number, number, line)
line = p
if payload.fold && !payload.foldContinuation