show-own-posts.js: fix a bug

This commit is contained in:
czaks 2014-10-18 19:35:41 +02:00
parent e3652ef980
commit 638931b02d

View File

@ -47,7 +47,7 @@ var update_own = function() {
else else
return; return;
if (posts[board].indexOf(postID) !== -1) { if (posts[board] && posts[board].indexOf(postID) !== -1) {
$(this).after(' <small>'+_('(You)')+'</small>'); $(this).after(' <small>'+_('(You)')+'</small>');
} }
}); });