mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-04 11:55:50 +00:00
video: fix typo
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user