Improved code layout.

This commit is contained in:
Martin Edenhofer 2015-06-05 16:20:19 +02:00
parent 6570ead1d3
commit 2360506c7b

View file

@ -896,7 +896,7 @@ class highlightRef extends App.ControllerContent
pickColor: (e) =>
@$('.js-highlightColor .visibility-change.is-active').removeClass('is-active')
$(e.currentTarget).find('.visibility-change').addClass('is-active')
@activeColorIndex = $(e.currentTarget).attr('data-key')
@activeColorIndex = $(e.currentTarget).attr('data-key')
if @isActive
@highlightIcon.css('fill', @colors[@activeColorIndex].color)