fix error

This commit is contained in:
邱博亞 2022-02-04 12:37:01 +08:00
parent f257f24bd0
commit 2f3026bf57
1 changed files with 2 additions and 2 deletions

View File

@ -61,10 +61,10 @@
var $video = $self.find('video');
if ($self.hasClass('have-audio')){
$self.removeClass('have-audio');
$(this).find('i.fas').attr('class','fas fa-volume-mute');
$(this).find('i.fas').attr('class','fas fa-volume-mute').attr('title','<%= I18n.t("ad_banner.unmuted") %>');
}else{
$self.addClass('have-audio');
$(this).find('i.fas').attr('class','fas fa-volume-up');
$(this).find('i.fas').attr('class','fas fa-volume-up').attr('title','<%= I18n.t("ad_banner.muted") %>');
}
if ($video.length>0){
$self.jPlayer("mute", !$self.data().jPlayer.options.muted);