Add JS style changes.
Thanks @rspeicher
This commit is contained in:
parent
80812a5d46
commit
2e8fe0bdb2
1 changed files with 4 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue