Skip to content

Commit

Permalink
Mind type of drop event items
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Dec 22, 2023
1 parent bdbb52e commit f81d71c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/logger-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f81d71c

Please sign in to comment.