diff options
-rw-r--r-- | app/assets/javascripts/application.js.coffee | 6 |
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') |