Remove unused JavaScript banners code

The banner `update_style` method isn't used since commit 82cb8d4c.
This commit is contained in:
Javi Martín
2019-07-02 02:36:30 +02:00
parent 2af09d65c7
commit 0ef75ff199

View File

@@ -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)