Commit 8e725094 authored by Taddeüs Kroes's avatar Taddeüs Kroes

Fixed indicator height + offset

parent 58af1944
......@@ -7,7 +7,6 @@ FETCH_URL = 'programs.php'
HOUR_WIDTH = 200
SCROLL_MULTIPLIER = HOUR_WIDTH
#
# Utils
#
......@@ -164,11 +163,13 @@ AppView = Backbone.View.extend(
setInterval((=> @updateIndicator()), 3600000 / HOUR_WIDTH)
addChannels: () ->
@$('.channels').empty()
Channels.each((channel) ->
view = new ChannelView(model: channel)
view.render()
@$('.channels').append(view.el)
, @)
@$('.indicator').height(@$('.channels').height())
@fetchPrograms()
loadDay: (day) ->
......
......@@ -82,5 +82,5 @@ html, body
position: absolute
width: 1px
height: 100%
top: 0
top: 64px
background-color: $indicator-color
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment