Skip to content

Commit

Permalink
refactor php/js output (#218)
Browse files Browse the repository at this point in the history
* refactor php/js output
  • Loading branch information
duakayra authored Mar 6, 2024
1 parent 7f7a831 commit bc24ea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/net/nehmer/blog/style/index-start.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php if (array_key_exists('base_ajax_comments_url', $data)): ?>
<?php if (array_key_exists('base_ajax_comments_url', $data)) { ?>
<script type="text/javascript" charset="utf-8">
var base_ajax_comments_url = MIDCOM_PAGE_PREFIX + '<?php echo $data['base_ajax_comments_url']; ?>';
function showAjaxComments(element, guid)
Expand All @@ -11,7 +11,7 @@ function showAjaxComments(element, guid)
}
}
</script>
<?php endif; ?>
<?php } ?>

<h1><?php echo $data['page_title']; ?></h1>

0 comments on commit bc24ea1

Please sign in to comment.