Commit 389d9bd4 by Prem Sichanugrist

Use existential operator

parent 9189c45f
......@@ -135,7 +135,7 @@ class @VideoPlayer
@video.speed
volume: (value) ->
if value != undefined
if value?
@player.setVolume value
else
@player.getVolume()
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