mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-11-23 10:46:02 +00:00
Do not "Go to new comment" button outside of the post page.
This commit is contained in:
parent
e7a48b467f
commit
072ece28cd
|
@ -64,7 +64,7 @@ function PointPlus(ppVersion) {
|
|||
|
||||
$('body').append($side_panel);
|
||||
|
||||
if (options.is('option_right_panel_to_unread')) {
|
||||
if (options.is('option_right_panel_to_unread') && $('#comments').length > 0) {
|
||||
$go_to_unread_block = $('<div>').attr({
|
||||
id: 'pp-go-to-unread',
|
||||
}).click(function() {
|
||||
|
|
Loading…
Reference in a new issue