fix error

This commit is contained in:
邱博亞 2022-01-21 16:50:50 +08:00
parent 432719d0ef
commit 39dda02650
1 changed files with 3 additions and 3 deletions

View File

@ -46,9 +46,9 @@
}else{
var audio_div;
if ($self.hasClass('have-audio')){
audio_div = $('<div class="jarallax-video-audio"><i class="fas fa-volume-up"></i></div>');
audio_div = $('<button class="jarallax-video-audio"><i class="fas fa-volume-up"></i></button>');
}else{
audio_div = $('<div class="jarallax-video-audio"><i class="fas fa-volume-mute"></i></div>');
audio_div = $('<button class="jarallax-video-audio"><i class="fas fa-volume-mute"></i></button>');
}
audio_div.click(function(event) {
var currentTime = new Date();
@ -249,7 +249,7 @@ if (typeof onYouTubeIframeAPIReady !== 'function'){
top: 50%;
}
}
.jarallax-video-audio:hover{
.jarallax-video-audio:hover,.jarallax-video-audio:focus{
color: #FFC500;
transition: all 0.6s ease;
}