Skip to content

Commit

Permalink
Let`s try again fixing the error :)
Browse files Browse the repository at this point in the history
  • Loading branch information
seeul8er committed Aug 17, 2024
1 parent ea6c38f commit 44f01fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dronebridge_esp32_flasher.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ESPLoader, Transport } from '/esptool/bundle.js';
import { serial } from '/web-serial-polyfill/serial.js';
import { ESPLoader, Transport } from './esptool/bundle.js';
import { serial } from './web-serial-polyfill/serial.js';
if (!navigator.serial && navigator.usb) navigator.serial = serial; // switch to WebSerial over WebUSB by polyfill

const not_compatible_warning = document.getElementById('not_compatible_warning');
Expand Down
2 changes: 1 addition & 1 deletion install.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<h5 class="h5">Online Serial Flashing Tool<br>DroneBridge for ESP32</h5>
<div>Install DroneBridge for ESP32 directly using your browser!</div>
</div>
<div class="container center-text" id="not_compatible_warning" style="padding: 2rem">
<div class="container center-text" id="not_compatible_warning" style="padding: 2rem; display: none">
<a href="https://caniuse.com/webusb">Your browser is not supported by this tool!</a><br>Use a Chrome-Based browser like Microsoft Edge or Google Chrome to access this tool!
</div>
<div class="container center-text" id="flashing_div">
Expand Down

0 comments on commit 44f01fc

Please sign in to comment.