diff --git a/client/js/controls/file_dropper_control.js b/client/js/controls/file_dropper_control.js index 3db395157..41be3a425 100644 --- a/client/js/controls/file_dropper_control.js +++ b/client/js/controls/file_dropper_control.js @@ -56,7 +56,7 @@ class FileDropperControl extends events.EventTarget { } document.onpaste = (e) => { - if (!document.querySelector(".file-dropper")) return; + if (!document.getElementById("post-upload")) return; this._evtPaste(e) }