Skip to content
Snippets Groups Projects
Commit 55f91337 authored by Greg Fodor's avatar Greg Fodor
Browse files

Fix Ctrl-V

parent 06640f1b
No related branches found
No related tags found
No related merge requests found
......@@ -218,7 +218,7 @@ export default class SceneEntryManager {
});
document.addEventListener("paste", e => {
if (e.matches("input, textarea") && document.activeElement === e.target) return;
if (e.target.matches("input, textarea") && document.activeElement === e.target) return;
const url = e.clipboardData.getData("text");
const files = e.clipboardData.files && e.clipboardData.files;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment