Skip to content

Commit

Permalink
Update comment of getContentArea
Browse files Browse the repository at this point in the history
  • Loading branch information
vaurdan authored Jan 21, 2025
1 parent bef12b1 commit 8ba132d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const PARSELY_PREVIEW_MARKER_CLASS = 'wp-parsely-preview-marker';
* @return {Element | null} The content area element or null if not found.
*/
export const getContentArea = ( document: Document ): Element | null => {
// Get the content area by checking for the PARSELY_PREVIEW_MARKER_CLASS first.
// Get the content area by checking for the PARSELY_PREVIEW_MARKER_CLASS.
const contentArea = document.querySelector( `.${ PARSELY_PREVIEW_MARKER_CLASS }` );
if ( ! contentArea ) {
return null;
Expand Down

0 comments on commit 8ba132d

Please sign in to comment.