allow paste to work in Tampermonkey, just let it do nothing in Firefox

This commit is contained in:
ccd0 2014-05-17 21:41:48 -07:00
parent bba7262184
commit 6f31941cdc

View File

@ -78,9 +78,7 @@ QR =
$.on d, 'QRAddPreSubmitHook', ({detail: cb}) ->
QR.preSubmitHooks.push cb
<% if (type === 'crx') { %>
$.on d, 'paste', QR.paste
<% } %>
$.on d, 'dragover', QR.dragOver
$.on d, 'drop', QR.dropFile
$.on d, 'dragstart dragend', QR.drag