From 1cbfe6f80887aaacc4f73fbf1f77d30264200665 Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Thu, 10 Feb 2022 14:12:56 -0800 Subject: [PATCH] video: fix typo --- assets/js/video.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/video.js b/assets/js/video.js index 2e257a15b7..6c2d78305c 100644 --- a/assets/js/video.js +++ b/assets/js/video.js @@ -2,7 +2,7 @@ $(document).ready(()=> { //top video. Show inline replacing image - $("#playvideo").click(function(){ + $("#playvideo").click(function(event){ $("#playvideo").hide(); $("#video1").show(); $("#video1")[0].src += "?autoplay=1"; @@ -10,7 +10,7 @@ $(document).ready(()=> { }); //bottom 3. Show in overlay - $('.btn1').click(function() { + $('.btn1').click(function(event) { var src = $(this).attr("data-url"); $("#player").attr("src", src); $('#video, #video-overlay').fadeIn('slow');