mirror of
https://github.com/meshcore-dev/flasher.meshcore.dev.git
synced 2026-04-20 22:13:50 +00:00
Merge pull request #3 from Xinayder/firefox-webserial
Check if window.navigator.serial exists for setting flashing.supported
This commit is contained in:
commit
e023661bbc
1 changed files with 1 additions and 1 deletions
|
|
@ -147,7 +147,7 @@ function setup() {
|
|||
}
|
||||
|
||||
const flashing = reactive({
|
||||
supported: 'Serial' in window,
|
||||
supported: 'Serial' in window || 'serial' in window.navigator,
|
||||
instance: null,
|
||||
locked: false,
|
||||
percent: 0,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue