mirror of
https://github.com/gorhill/uBlock.git
synced 2024-10-06 09:37:12 +02:00
Mind type of drop event items
Related feedback: https://github.com/gorhill/uBlock/commit/c8b7d1a526#commitcomment-135590810
This commit is contained in:
parent
bdbb52e538
commit
f81d71c6e8
@ -2254,6 +2254,7 @@ const rowFilterer = (( ) => {
|
||||
dom.on('#filterInput > input', 'drop', ev => {
|
||||
const dropItem = item => {
|
||||
if ( item.kind !== 'string' ) { return false; }
|
||||
if ( item.type !== 'text/plain' ) { return false; }
|
||||
item.getAsString(s => {
|
||||
qs$('#filterInput > input').value = s;
|
||||
parseInput();
|
||||
|
Loading…
Reference in New Issue
Block a user