summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-05 11:07:28 -0500
committerJacob Schatz <jacobschatz@Jacobs-MBP.fios-router.home>2016-02-05 11:31:13 -0500
commit2e8fe0bdb274e8cdc80d0e38fe340832c70adfb2 (patch)
tree1e9daba55e976fc0348ce6002877c2e25bfdf824
parent80812a5d46782d5a7996c419d3ddccd205194150 (diff)
downloadgitlab-ce-2e8fe0bdb274e8cdc80d0e38fe340832c70adfb2.tar.gz
Thanks @rspeicher
-rw-r--r--app/assets/javascripts/application.js.coffee6
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/application.js.coffee b/app/assets/javascripts/application.js.coffee
index 37ce34b1632..367bd098bfd 100644
--- a/app/assets/javascripts/application.js.coffee
+++ b/app/assets/javascripts/application.js.coffee
@@ -232,7 +232,8 @@ $ ->
$this = $(this)
$thisIcon = $this.find 'i'
if $thisIcon.hasClass('fa-angle-double-right')
- $thisIcon.removeClass('fa-angle-double-right')
+ $thisIcon
+ .removeClass('fa-angle-double-right')
.addClass('fa-angle-double-left')
$this
.closest('aside')
@@ -242,7 +243,8 @@ $ ->
.removeClass('right-sidebar-expanded')
.addClass('right-sidebar-collapsed')
else
- $thisIcon.removeClass('fa-angle-double-left')
+ $thisIcon
+ .removeClass('fa-angle-double-left')
.addClass('fa-angle-double-right')
$this
.closest('aside')