summaryrefslogtreecommitdiff
path: root/app/helpers/diff_helper.rb
diff options
context:
space:
mode:
authorLuke "Jared" Bennett <lbennett@gitlab.com>2016-07-03 21:01:36 +0100
committerPaco Guzman <pacoguzmanp@gmail.com>2016-07-06 08:29:57 +0200
commit50dfdf0296ae307d0b22ae8bbd1b52dca9fbaea9 (patch)
tree00ba546b756f5446124baa8ce62204e9a15bc6d4 /app/helpers/diff_helper.rb
parent914bb05d282bca9c4509d56c1be409a5889e57b8 (diff)
downloadgitlab-ce-50dfdf0296ae307d0b22ae8bbd1b52dca9fbaea9.tar.gz
fix up tests
Added more exceptions Added handling inline view type
Diffstat (limited to 'app/helpers/diff_helper.rb')
-rw-r--r--app/helpers/diff_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/diff_helper.rb b/app/helpers/diff_helper.rb
index e22dce59d0f..a282a67020f 100644
--- a/app/helpers/diff_helper.rb
+++ b/app/helpers/diff_helper.rb
@@ -39,7 +39,7 @@ module DiffHelper
end
def unfold_bottom_class(bottom)
- bottom ? 'js-unfold-bottom' : ''
+ bottom ? 'js-unfold js-unfold-bottom' : ''
end
def unfold_class(unfold)