compact-boardlist.js: initial commit

This commit is contained in:
czaks 2013-12-28 00:53:42 +01:00
parent 863b446a11
commit c8913f41a7
15 changed files with 122 additions and 14 deletions

View file

@ -61,9 +61,12 @@ function createBoardlist($mod=false) {
$body = '[' . $body . ']';
$body = trim($body);
// Message compact-boardlist.js faster, so that page looks less ugly during loading
$top = "<script type='text/javascript'>if (typeof do_boardlist != 'undefined') do_boardlist();</script>";
return array(
'top' => '<div class="boardlist">' . $body . '</div>',
'top' => '<div class="boardlist">' . $body . '</div>' . $top,
'bottom' => '<div class="boardlist bottom">' . $body . '</div>'
);
}