Skip to content

Commit

Permalink
Removed non-functional Port file input
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 12, 2024
1 parent 8cd0d42 commit 7aa8a26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backends.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ export const backends = [
{
backend: Port,
inputs: {
port_file: {
/*port_file: {
type: 'file',
parse(input: HTMLInputElement) {
const url = URL.createObjectURL(input.files![0]);
$(input.parentElement!).find('.port').val(url).attr('disabled', 1);
},
},
},*/
port: {
placeholder: 'Port',
parse(input: HTMLInputElement): Worker {
Expand Down

0 comments on commit 7aa8a26

Please sign in to comment.