Skip to content

Commit

Permalink
chore(web): restore webkitUserSelect
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed May 17, 2024
1 parent 8405668 commit 6209a4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/engine/dom-utils/src/createUnselectableElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ export default function createUnselectableElement<E extends "p"|"style"|"script"
const e = document.createElement<E>(nodeName);

e.style.userSelect="none";
e.style.webkitUserSelect = "none";
return e;
}

0 comments on commit 6209a4f

Please sign in to comment.