changeset 1565:cd3e3f50096a

#novidref to quiet net requests from timeline Ignore-this: a2ce3fd04578d4a1f2c3e4614146860a
author Drew Perttula <drewp@bigasterisk.com>
date Thu, 25 May 2017 04:09:51 +0000
parents f2e6d96d02de
children 13e3cbe9071a
files light9/web/timeline/timeline.coffee
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/web/timeline/timeline.coffee	Thu May 25 04:04:42 2017 +0000
+++ b/light9/web/timeline/timeline.coffee	Thu May 25 04:09:51 2017 +0000
@@ -142,7 +142,8 @@
         @viewState.mouse.pos($V([ev.pageX - @root.left, ev.pageY - @root.top]))
 
         @$.cursorCanvas.setMouse(@viewState.mouse.pos())
-        @sendMouseToVidref()
+        # should be controlled by a checkbox next to follow-player-song-choice
+        @sendMouseToVidref() unless window.location.hash.match(/novidref/)
 
   sendMouseToVidref: ->
     now = Date.now()