mirror of
https://bitbucket.org/skobkin/chrome_point_plus.git
synced 2024-12-27 17:04:21 +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