Browse Source

Fix for replies. A element, not div.

pull/24/head
Brett Bohnenkamper 5 years ago
parent
commit
fb1cbf03dc
2 changed files with 6 additions and 4 deletions
  1. 3
    2
      blog/view_post.php
  2. 3
    2
      podcast/view_post.php

+ 3
- 2
blog/view_post.php View File

@@ -160,8 +160,9 @@ if (isset($_GET['post']))
</div>
<?php
}
?>
<div class="post-comments" id="<?php echo $post_id; ?>" name="replies"></div>
?>
<a name="replies">
<div class="post-comments" id="<?php echo $post_id; ?>"></div>
<script>
var converter = new Markdown.getSanitizingConverter();
// Title Conversion

+ 3
- 2
podcast/view_post.php View File

@@ -199,8 +199,9 @@ if (isset($_GET['post']))
</div>
<?php
}
?>
<div class="post-comments" id="<?php echo $post_id; ?>" name="replies"></div>
?>
<a name="replies"></a>
<div class="post-comments" id="<?php echo $post_id; ?>"></div>
<script>
$( function()
{

Loading…
Cancel
Save