Merge pull request #6400 from opf/fix/wiki--history-inline-js

Fix inline JS for wiki history view

[ci skip]
pull/6402/head
Oliver Günther 6 years ago committed by GitHub
commit dc73956b88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/views/wiki/history.html.erb

@ -124,7 +124,7 @@ See docs/COPYRIGHT.rdoc for more details.
(line_num==1),
id: "cb-#{line_num}" %>
<% end %>
<% csp_onclick("jQuery(#'cbto-#{line_num+1}').attr('checked', true);", "#cb-#{line_num}}") %>
<% csp_onclick("jQuery('#cbto-#{line_num+1}').attr('checked', true);", "#cb-#{line_num}") %>
</td>
<td class="checkbox">
<% if show_diff && (line_num > 1) %>

Loading…
Cancel
Save