Update edit-page.html.php

This commit is contained in:
danpros 2024-05-30 20:19:09 +07:00
commit 4d5d45346f

View file

@ -314,7 +314,7 @@ $('.img-container').on("click", ".the-img", function(e) {
document.getElementById('hideButton').addEventListener('click', toggleDivs);
</script>
<?php if (config('autosave.enable') == 'true'):?>
<?php if ($type !== 'is_category' || $type !== 'is_profile') :?>
<?php if ($type !== 'is_category' && $type !== 'is_profile') :?>
<?php if (stripos($dir . '/', '/draft/') !== false): ?>
<script src="<?php echo site_url();?>system/resources/js/save_draft.js"></script>
<?php endif;?>