fix error
This commit is contained in:
parent
432719d0ef
commit
39dda02650
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue