Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor-Nyagudi committed May 1, 2023
1 parent 3082420 commit 1d48b32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/SelectionScraper/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const getHTMLOfSelection = () => {
}
}

// Remove any element that isn't selectable
// Remove any element that isn't selectable to prevent copying unnecessary text/items
div.querySelectorAll(`div[style*="user-select: ${styles.userSelectNone.WebkitUserSelect}"]`).forEach(item => item.remove());

return div.innerHTML;
Expand Down

0 comments on commit 1d48b32

Please sign in to comment.