Remove unused JavaScript banners code
The banner `update_style` method isn't used since commit 82cb8d4c.
This commit is contained in:
@@ -3,10 +3,6 @@ App.Banners =
|
||||
update_banner: (selector, text) ->
|
||||
$(selector).html(text)
|
||||
|
||||
update_style: (selector, style) ->
|
||||
$(selector).removeClass($(selector).attr("class"), true)
|
||||
.addClass(style, true)
|
||||
|
||||
update_background_color: (selector, background_color) ->
|
||||
$(selector).css("background-color", background_color)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user