From c62dedbcb343f2394d02491ef06ab7fa8268d168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E5=8D=9A=E4=BA=9E?= Date: Sun, 14 Nov 2021 13:14:32 +0800 Subject: [PATCH] fix error --- app/views/admin/ad_images/_jplayer.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/ad_images/_jplayer.html.erb b/app/views/admin/ad_images/_jplayer.html.erb index 5e5046f..fc1dc22 100644 --- a/app/views/admin/ad_images/_jplayer.html.erb +++ b/app/views/admin/ad_images/_jplayer.html.erb @@ -229,7 +229,7 @@ ad_call_on_play_jplayer_<%= i %>(this); jplayer_center_video_front($(this).find('video')); <% if @hide_video_tools %> - ad_audio_button(ele,false); + ad_audio_button(this,false); <% end %> }, click: function(){ @@ -240,7 +240,7 @@ $(this).jPlayer("pause"); ad_call_on_pause_jplayer_<%= i %>(this); window.console.log("pause"); - ad_audio_button(ele,true); + ad_audio_button(this,true); }, abort: function(){ play_<%= i %>_flag = false;