We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef12b1 commit 8ba132dCopy full SHA for 8ba132d
src/content-helper/dashboard-page/pages/traffic-boost/preview/utils.ts
@@ -44,7 +44,7 @@ const PARSELY_PREVIEW_MARKER_CLASS = 'wp-parsely-preview-marker';
44
* @return {Element | null} The content area element or null if not found.
45
*/
46
export const getContentArea = ( document: Document ): Element | null => {
47
- // 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.
48
const contentArea = document.querySelector( `.${ PARSELY_PREVIEW_MARKER_CLASS }` );
49
if ( ! contentArea ) {
50
return null;
0 commit comments