Add JS style changes.

Thanks @rspeicher
This commit is contained in:
Jacob Schatz 2016-02-05 11:07:28 -05:00
parent 80812a5d46
commit 2e8fe0bdb2

View file

@ -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')