Browse files

argh

  • Loading branch information...
1 parent e161905 commit ee904a97f4880ed7b100cf92110ef88366e2abb0 @brumm committed Oct 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/assets/javascripts/backbone/modules/video.coffee
View
2 app/assets/javascripts/backbone/modules/video.coffee
@@ -28,7 +28,7 @@ Zinc.App.module "Video", (Video, App) ->
@media.on 'ready', (time) => @media.play()
@media.on 'tick', (time) =>
- if App.current_user.is_role("mod", "owner") and time % 3 is 0
+ if App.current_user.is_role("mod", "owner") and Math.round(time) % 3 is 0
App.Room.do "video_sync",
timestamp: @media.currentTime()

0 comments on commit ee904a9

Please sign in to comment.