Commit 11eec88d authored by Marin Jankovski's avatar Marin Jankovski

Wrap should always be enabled for parallel diff.

parent 83e5211a
......@@ -15,6 +15,7 @@
%span.file-mode= "#{diff.a_mode}#{diff.b_mode}"
.diff-btn-group
- unless params[:view] == 'parallel'
%label
= check_box_tag nil, 1, false, class: "js-toggle-diff-line-wrap"
Wrap text
......
/ Side-by-side diff view
%div.text-file
%div.text-file.diff-wrap-lines
%table
- parallel_diff(diff_file, index).each do |line|
- type_left = line[0]
......
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