allow paste to work in Tampermonkey, just let it do nothing in Firefox
This commit is contained in:
parent
bba7262184
commit
6f31941cdc
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user