Skip to content

Commit 990ab6a

Browse files
authored
Update codeit.js
1 parent 2307233 commit 990ab6a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/codeit.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ class CodeitElement extends HTMLElement {
152152
// if text is big, highlight cursor node first,
153153
// then highlight rest of codeit when finished typing
154154
if (cd.textContent.length > 5000 &&
155-
window.getSelection().type !== 'None' &&
156155
document.activeElement === cd) {
157156

158157
// get caret pos in text

0 commit comments

Comments
 (0)