From 638931b02d12d8215346e21b422d372e5a477506 Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 18 Oct 2014 19:35:41 +0200 Subject: [PATCH] show-own-posts.js: fix a bug --- js/show-own-posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(' '+_('(You)')+''); } });