Skip to content

Commit

Permalink
Improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Dec 12, 2024
1 parent 109943e commit 517b2a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/VortexEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export default class VortexEditor {
async checkVersion(device, version) {
// the results are lowercased
let lowerDevice = device.toLowerCase();
if (!lowerDevice || lowerDevice === 'none') {
if (!lowerDevice.length || lowerDevice === 'none') {
lowerDevice = this.modesPanel.selectedDevice.toLowerCase();
if (!lowerDevice || lowerDevice === 'none') {
if (!lowerDevice.length || lowerDevice === 'none') {
// not connected?
return;
}
Expand Down

0 comments on commit 517b2a9

Please sign in to comment.