mirror of
https://github.com/Nereziel/cs2-WeaponPaints.git
synced 2026-02-18 10:43:22 +00:00
fix
This commit is contained in:
@@ -47,12 +47,6 @@ if (isset($_SESSION['steamid'])) {
|
|||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
|
||||||
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
|
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
|
||||||
crossorigin="anonymous"></script>
|
crossorigin="anonymous"></script>
|
||||||
<script>
|
|
||||||
// Add JavaScript to dynamically update the span with the current wear value
|
|
||||||
document.getElementById('wear<?php echo $defindex ?>').addEventListener('input', function () {
|
|
||||||
document.getElementById('wearValue<?php echo $defindex ?>').innerText = this.value;
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<title>CS2 Simple Weapon Paints</title>
|
<title>CS2 Simple Weapon Paints</title>
|
||||||
</head>
|
</head>
|
||||||
@@ -147,6 +141,12 @@ if (isset($_SESSION['steamid'])) {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<script>
|
||||||
|
// Add JavaScript to dynamically update the span with the current wear value
|
||||||
|
document.getElementById('wear<?php echo $defindex ?>').addEventListener('input', function () {
|
||||||
|
document.getElementById('wearValue<?php echo $defindex ?>').innerText = this.value;
|
||||||
|
});
|
||||||
|
</script>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user