Commit 7c928340 by wd

方法失效替换

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