From 7710cf98e985e959685c1265427812556a919c43 Mon Sep 17 00:00:00 2001 From: Danny Coates Date: Tue, 12 Mar 2019 08:37:20 -0700 Subject: [PATCH] fixed paste email bug --- app/pasteManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');