fix error
This commit is contained in:
parent
f257f24bd0
commit
2f3026bf57
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue