From 2f3026bf570fb5ab485e98d4ab8d59e443f6c591 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Fri, 4 Feb 2022 12:37:01 +0800 Subject: [PATCH] fix error --- modules/ad_banner/_ad_banner_widget2_video.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/ad_banner/_ad_banner_widget2_video.html.erb b/modules/ad_banner/_ad_banner_widget2_video.html.erb index 6601e53..18b3174 100644 --- a/modules/ad_banner/_ad_banner_widget2_video.html.erb +++ b/modules/ad_banner/_ad_banner_widget2_video.html.erb @@ -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);