Add ['overboard_post_form'] to allow overboard post forms. Adjustments to ukko theme to support this

This commit is contained in:
Benjamin Southall 2017-04-25 00:47:14 +09:00
parent aa8eb39dab
commit 19c0f384a5
4 changed files with 21 additions and 5 deletions

View file

@ -84,7 +84,7 @@ $(document).ready(function() {
$(data).find('div[id*="thread_"]').each(function() {
var checkout = $(this).attr('id').replace('thread_', '');
if ($('div#thread_' + checkout + '[data-board="' + overflow[0].board + '"]').length == 0) {
$('form[name="postcontrols"]').prepend($(this).css('display', 'none').attr("data-cached", "yes").attr('data-board', overflow[0].board));
$('form[name="postcontrols"]').prepend($(this).css('display', 'block').attr("data-cached", "yes").attr('data-board', overflow[0].board));
}
});