Improved code layout.
This commit is contained in:
parent
6570ead1d3
commit
2360506c7b
1 changed files with 2 additions and 2 deletions
|
@ -896,7 +896,7 @@ class highlightRef extends App.ControllerContent
|
||||||
pickColor: (e) =>
|
pickColor: (e) =>
|
||||||
@$('.js-highlightColor .visibility-change.is-active').removeClass('is-active')
|
@$('.js-highlightColor .visibility-change.is-active').removeClass('is-active')
|
||||||
$(e.currentTarget).find('.visibility-change').addClass('is-active')
|
$(e.currentTarget).find('.visibility-change').addClass('is-active')
|
||||||
@activeColorIndex = $(e.currentTarget).attr('data-key')
|
@activeColorIndex = $(e.currentTarget).attr('data-key')
|
||||||
|
|
||||||
if @isActive
|
if @isActive
|
||||||
@highlightIcon.css('fill', @colors[@activeColorIndex].color)
|
@highlightIcon.css('fill', @colors[@activeColorIndex].color)
|
||||||
|
|
Loading…
Reference in a new issue