Commit a2c61f71 by lmf

修复评论点击js语法错误

parent 7cf2bdc8
......@@ -193,8 +193,7 @@ $isFilterApplied = $displayedCollection->getFlag(\Amasty\AdvancedReview\Model\To
require([
'jquery'
], function ($) {
console.log("helo!");
$(".amreview-add-new").on(click,function () {
$(".amreview-add-new").on('click',function () {
$(".block.review-add.amreview-submit-form").show();
});
});
......
......@@ -1832,6 +1832,8 @@ background-color: #000;
flex-direction: inherit !important;
}
}
//产品评论form表单默认隐藏
.block.review-add.amreview-submit-form{
display: none;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment