diff --git a/frontend/web/assets/js/popUps.js b/frontend/web/assets/js/popUps.js index ae79e9f..45c8bdb 100644 --- a/frontend/web/assets/js/popUps.js +++ b/frontend/web/assets/js/popUps.js @@ -9,7 +9,7 @@ $(function(){ var _that=$(this); _that.find(".nextPage").click(function () { _that.addClass("unchoose"); - _that.eq(1).removeClass("unchoose"); + $(".model-bg").eq(i+1).removeClass("unchoose"); console.log(i); console.log(i+1); console.log(item);