diff --git a/app/pasteManager.js b/app/pasteManager.js index 350b6a33..c35c7f82 100644 --- a/app/pasteManager.js +++ b/app/pasteManager.js @@ -7,7 +7,7 @@ function getString(item) { export default function(state, emitter) { window.addEventListener('paste', async event => { if (state.route !== '/' || state.uploading) return; - if (['password', 'text'].includes(event.target.type)) return; + if (['password', 'text', 'email'].includes(event.target.type)) return; const items = Array.from(event.clipboardData.items); const transferFiles = items.filter(item => item.kind === 'file');