Commit fc6f0606 by Peter Fogg

0;95;cRemove unnecessary boolean conversion.

parent 01497667
...@@ -5,7 +5,7 @@ class @Video ...@@ -5,7 +5,7 @@ class @Video
@start = @el.data('start') @start = @el.data('start')
@end = @el.data('end') @end = @el.data('end')
@caption_asset_path = @el.data('caption-asset-path') @caption_asset_path = @el.data('caption-asset-path')
@show_captions = !!@el.data('show-captions') @show_captions = @el.data('show-captions')
window.player = null window.player = null
@el = $("#video_#{@id}") @el = $("#video_#{@id}")
@parseVideos @el.data('streams') @parseVideos @el.data('streams')
......
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