diff options
| author | czaks <marcin@6irc.net> | 2013-12-28 00:53:42 +0100 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-12-28 00:53:42 +0100 |
| commit | c8913f41a7a7a8be76a458b001c3f2b2e1ca0dea (patch) | |
| tree | 9f4d861049f9366a667c1ef8b4a04235eb14e162 /inc/display.php | |
| parent | 863b446a1106f265f3d8c04d9da966664c52da9b (diff) | |
compact-boardlist.js: initial commit
Diffstat (limited to 'inc/display.php')
| -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>' ); } |
