diff options
| author | czaks <marcin@6irc.net> | 2014-10-18 19:35:41 +0200 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-18 19:35:41 +0200 |
| commit | 638931b02d12d8215346e21b422d372e5a477506 (patch) | |
| tree | 5f5aa8edab50dc7be16a6f6cb8e91e49fc7ef76c | |
| parent | e3652ef9806db0179b0e2a07fe1366011ab6548b (diff) | |
show-own-posts.js: fix a bug
| -rw-r--r-- | js/show-own-posts.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/show-own-posts.js b/js/show-own-posts.js index 22660d82..18032f3e 100644 --- a/js/show-own-posts.js +++ b/js/show-own-posts.js @@ -47,7 +47,7 @@ var update_own = function() { else return; - if (posts[board].indexOf(postID) !== -1) { + if (posts[board] && posts[board].indexOf(postID) !== -1) { $(this).after(' <small>'+_('(You)')+'</small>'); } }); |
