Skip to content

Commit

Permalink
Inline Comments: Refine selector.
Browse files Browse the repository at this point in the history
FEE duplicates the content for use with TinyMCE.  So to avoid IC's comment
bubbles rendering twice, add the ':visible' selector.

See related commit cbcabcf.

See #1.
  • Loading branch information
r-a-y committed Aug 18, 2015
1 parent 26fc64e commit e56a838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/hooks-inline-comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function cacsp_ic_modify_selector( $retval ) {
return $retval;
}

return '.entry-content p';
return '.entry-content p:visible';
}
add_filter( 'option_multiselector', 'cacsp_ic_modify_selector' );

Expand Down

0 comments on commit e56a838

Please sign in to comment.