Created
August 5, 2018 18:18
-
-
Save dgershman/6860f98d0675599231c59030109cfed6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
$(function() { | |
var posts = $("[id^=post_row_]") | |
if (posts.length > 0) { | |
var separator = "<tr><td><div class=\"bx-def-hr bx-def-margin-sec-top bx-def-margin-sec-bottom\"></div></td></tr>"; | |
$(".forum_posts").html("") | |
for (var x = posts.length - 1; x >= 0; x--) { | |
$(".forum_posts").append(separator) | |
$(".forum_posts").append(posts[x].outerHTML + "<hr/>"); | |
} | |
} | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment