fix error

This commit is contained in:
邱博亞 2021-11-15 16:54:12 +08:00
parent 0cdff73a4f
commit 52ea8ff6be
1 changed files with 2 additions and 2 deletions

View File

@ -167,7 +167,7 @@ class AdBannersController < ApplicationController
cyclediv.cycle(\"pause\");
cyclediv.cycle(\"next\");
current_cycle = cyclediv.find(\".cycle-slide-active\");
if (current_cycle.hasClass(\"jplayer_slide\"){
if (current_cycle.hasClass(\"jplayer_slide\")){
current_cycle.find('.jp-jplayer').jPlayer(\"mute\", true).jPlayer(\"play\",0);
}else{
current_cycle.find('iframe').data(\"yt_player\").mute().playVideo();