forked from leftypol/leftypol
show-own-posts.js: fix a bug
This commit is contained in:
parent
e3652ef980
commit
638931b02d
1 changed files with 1 additions and 1 deletions
|
@ -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>');
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue