Volume.onchange -> Volume.change
This commit is contained in:
parent
898564eef7
commit
e67b0a774e
@ -28,9 +28,9 @@ Volume =
|
|||||||
setup: (video, isNew=true) ->
|
setup: (video, isNew=true) ->
|
||||||
video.muted = !Conf['Allow Sound']
|
video.muted = !Conf['Allow Sound']
|
||||||
video.volume = Conf['Default Volume']
|
video.volume = Conf['Default Volume']
|
||||||
$.on video, 'volumechange', Volume.onchange if isNew
|
$.on video, 'volumechange', Volume.change if isNew
|
||||||
|
|
||||||
onchange: ->
|
change: ->
|
||||||
{muted, volume} = @
|
{muted, volume} = @
|
||||||
items =
|
items =
|
||||||
'Allow Sound': !muted
|
'Allow Sound': !muted
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user