diff options
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/display.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/inc/display.php b/inc/display.php index 265fd5ef..13425c48 100644 --- a/inc/display.php +++ b/inc/display.php @@ -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>' ); } |
