Skip to content

Commit

Permalink
show-own-posts.js: fix a bug
Browse files Browse the repository at this point in the history
  • Loading branch information
czaks committed Oct 18, 2014
1 parent e3652ef commit 638931b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/show-own-posts.js
Expand Up @@ -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>');
}
});
Expand Down

0 comments on commit 638931b

Please sign in to comment.