show-own-posts.js: fix a bug
This commit is contained in:
parent
e3652ef980
commit
638931b02d
@ -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>');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user