Fix indentation on multiple coffeescript files
This commit is contained in:
@@ -5,7 +5,7 @@ App.Banners =
|
|||||||
|
|
||||||
update_style: (selector, style) ->
|
update_style: (selector, style) ->
|
||||||
$(selector).removeClass($(selector).attr("class"), true)
|
$(selector).removeClass($(selector).attr("class"), true)
|
||||||
.addClass(style, true)
|
.addClass(style, true)
|
||||||
|
|
||||||
initialize: ->
|
initialize: ->
|
||||||
$('[data-js-banner-title]').on
|
$('[data-js-banner-title]').on
|
||||||
|
|||||||
@@ -11,15 +11,15 @@ App.LegislationAllegations =
|
|||||||
|
|
||||||
initialize: ->
|
initialize: ->
|
||||||
$('.js-toggle-allegations .draft-panel').on
|
$('.js-toggle-allegations .draft-panel').on
|
||||||
click: (e) ->
|
click: (e) ->
|
||||||
e.preventDefault()
|
e.preventDefault()
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
if !App.LegislationAnnotatable.isMobile()
|
if !App.LegislationAnnotatable.isMobile()
|
||||||
App.LegislationAllegations.toggle_comments()
|
App.LegislationAllegations.toggle_comments()
|
||||||
|
|
||||||
$('.js-toggle-allegations').on
|
$('.js-toggle-allegations').on
|
||||||
click: (e) ->
|
click: (e) ->
|
||||||
# Toggle comments when the section title is visible
|
# Toggle comments when the section title is visible
|
||||||
if !App.LegislationAnnotatable.isMobile()
|
if !App.LegislationAnnotatable.isMobile()
|
||||||
if $(this).find('.draft-panel .panel-title:visible').length == 0
|
if $(this).find('.draft-panel .panel-title:visible').length == 0
|
||||||
App.LegislationAllegations.toggle_comments()
|
App.LegislationAllegations.toggle_comments()
|
||||||
|
|||||||
Reference in New Issue
Block a user