diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-10 08:39:32 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-10 08:39:47 +0000 |
commit | c7730121c16e41d797e7f7e00f7a6ad96d78bbb4 (patch) | |
tree | d5837d1bcef22cd3284487faccdfb066a9983d7d | |
parent | cd1d045fe215bb06a1cc96e12cefda5ef71058a0 (diff) | |
download | gitlab-ce-c7730121c16e41d797e7f7e00f7a6ad96d78bbb4.tar.gz |
Fixed failing rubocop test
-rw-r--r-- | app/helpers/application_helper.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 5cd494079b0..f07c79ec611 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -186,11 +186,11 @@ module ApplicationHelper title: time.in_time_zone.to_s(:medium), data: { toggle: 'tooltip', placement: placement, container: 'body' } - unless skip_js - element << javascript_tag( - "$('.js-timeago-pending').removeClass('js-timeago-pending').timeago()" - ) - end + unless skip_js + element << javascript_tag( + "$('.js-timeago-pending').removeClass('js-timeago-pending').timeago()" + ) + end element end |