From 2e8fe0bdb274e8cdc80d0e38fe340832c70adfb2 Mon Sep 17 00:00:00 2001 From: Jacob Schatz Date: Fri, 5 Feb 2016 11:07:28 -0500 Subject: [PATCH] Add JS style changes. Thanks @rspeicher --- app/assets/javascripts/application.js.coffee | 6 ++++-- 1 file 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')