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:
parent
c7910d0917
commit
850b5148f9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user