Skip to content

Commit

Permalink
Removed debug console output
Browse files Browse the repository at this point in the history
  • Loading branch information
nuxy committed May 6, 2024
1 parent e32100c commit 0f71a4a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/textmarked.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,6 @@ function TextMarked(textarea, settings = {}) {

const {focusNode, focusOffset, anchorNode, anchorOffset} = selection;

console.log('TEXT X', selection);

// Handle inverted selections (reversed scope).
const isInverted = (focusOffset > anchorOffset);
const _focusOffset = (isInverted) ? anchorOffset : focusOffset;
Expand Down

0 comments on commit 0f71a4a

Please sign in to comment.