Commit 7c928340 by wd

方法失效替换

parent 83e42b97
...@@ -16,6 +16,7 @@ if ($isActive == 1): ?> ...@@ -16,6 +16,7 @@ if ($isActive == 1): ?>
</script> </script>
<?php endif; ?> <?php endif; ?>
<script> <script>
var sparsh_mfp_wrap = document.getElementsByClassName('sparsh-mfp-wrap'); require(['jquery'],function ($){
sparsh_mfp_wrap[0].removeAttribute("style"); $('.sparsh-mfp-wrap').attr('style','');
});
</script> </script>
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