diff options
author | Hannes Rosenögger <123haynes@gmail.com> | 2015-03-17 17:39:21 +0300 |
---|---|---|
committer | Hannes Rosenögger <123haynes@gmail.com> | 2015-03-18 10:46:53 +0300 |
commit | 120f032b1a6c7df431da6821d22c806b6c9bf4ca (patch) | |
tree | 7e9b1695c2c737bbcb559a4f144b9471e9b22c6d /app/assets/javascripts/behaviors | |
parent | dbd347bfa00e133da8ac178612ed8c30ef871ca4 (diff) |
enable line wrapping by default and remove the checkbox to change it
Diffstat (limited to 'app/assets/javascripts/behaviors')
-rw-r--r-- | app/assets/javascripts/behaviors/toggle_diff_line_wrap_behavior.coffee | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/app/assets/javascripts/behaviors/toggle_diff_line_wrap_behavior.coffee b/app/assets/javascripts/behaviors/toggle_diff_line_wrap_behavior.coffee deleted file mode 100644 index 691ed4f98ae..00000000000 --- a/app/assets/javascripts/behaviors/toggle_diff_line_wrap_behavior.coffee +++ /dev/null @@ -1,14 +0,0 @@ -$ -> - # Toggle line wrapping in diff. - # - # %div.diff-file - # %input.js-toggle-diff-line-wrap - # %td.line_content - # - $("body").on "click", ".js-toggle-diff-line-wrap", (e) -> - diffFile = $(@).closest(".diff-file") - if $(@).is(":checked") - diffFile.addClass("diff-wrap-lines") - else - diffFile.removeClass("diff-wrap-lines") - |