Skip to content

Commit

Permalink
reorderd dropdown items in bluetoothscanner.html
Browse files Browse the repository at this point in the history
  • Loading branch information
doudar committed Dec 2, 2022
1 parent 676cfad commit ecc7c64
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions data/bluetoothscanner.html
Original file line number Diff line number Diff line change
Expand Up @@ -152,24 +152,24 @@ <h2>
}
}

let noneOptionPM = document.createElement('option');
noneOptionPM.text = 'none';
let noneOptionHR = document.createElement('option');
noneOptionHR.text = 'none';
PMDropdown.add(noneOptionPM);
HRDropdown.add(noneOptionHR);
let anyOptionPM = document.createElement('option');
anyOptionPM.text = 'any';
let anyOptionHR = document.createElement('option');
anyOptionHR.text = 'any';
PMDropdown.add(anyOptionPM);
HRDropdown.add(anyOptionHR);
let connectedOptionPM = document.createElement('option');
connectedOptionPM.text = data.connectedPowerMeter;
let connectedOptionHR = document.createElement('option');
connectedOptionHR.text = data.connectedHeartMonitor;
PMDropdown.add(connectedOptionPM);
HRDropdown.add(connectedOptionHR);
let anyOptionPM = document.createElement('option');
anyOptionPM.text = 'any';
let anyOptionHR = document.createElement('option');
anyOptionHR.text = 'any';
PMDropdown.add(anyOptionPM);
HRDropdown.add(anyOptionHR);
let noneOptionPM = document.createElement('option');
noneOptionPM.text = 'none';
let noneOptionHR = document.createElement('option');
noneOptionHR.text = 'none';
PMDropdown.add(noneOptionPM);
HRDropdown.add(noneOptionHR);
document.getElementById("connectedPowerMeter").innerHTML = data.connectedPowerMeter;
document.getElementById("connectedHeartMonitor").innerHTML = data.connectedHeartMonitor;
document.getElementById("powerCorrectionFactorValue").innerHTML = data.powerCorrectionFactor;
Expand Down

0 comments on commit ecc7c64

Please sign in to comment.