unfix a security thing that json_encode already handles
This commit is contained in:
parent
b87735e2d7
commit
c7233f0395
|
@ -59,7 +59,7 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
ComicImageOrdering.slider_value = <?php echo esc_js(190 - $zoom_level) ?>;
|
||||
ComicImageOrdering.available_attachments = <?php echo esc_js($this->_json_encode($available_attachments)) ?>;
|
||||
ComicImageOrdering.available_attachments = <?php echo $this->_json_encode($available_attachments) ?>;
|
||||
|
||||
ComicImageOrdering.setup();
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue