added semi-auto option and minor code adjustments
This commit is contained in:
@@ -6,7 +6,7 @@ let selectedGunTypes = []; // Track selected gun types for filtering
|
||||
|
||||
// Function to fetch operatives data from JSON
|
||||
function fetchOperativesData() {
|
||||
fetch('/static/json/operative.json')
|
||||
fetch('static/json/operative.json')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
populateOperatives(data.operatives); // Populate the operative dropdown once data is loaded
|
||||
|
||||
@@ -89,6 +89,7 @@
|
||||
<label><input type="checkbox" id="lmg" value="LMG"> LMG</label>
|
||||
<label><input type="checkbox" id="pistol" value="PISTOL"> Pistol</label>
|
||||
<label><input type="checkbox" id="special" value="SPECIAL"> Special</label>
|
||||
<label><input type="checkbox" id="semi-auto" value="SEMI-AUTO"> Special</label>
|
||||
<!-- Add more gun types as needed -->
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user