Update szamrendszer.js
This commit is contained in:
parent
d6a76b813e
commit
bb17201fb8
|
@ -55,8 +55,12 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||
});
|
||||
|
||||
swapButton.addEventListener("click", function () {
|
||||
const tempValue = inputBase.value;
|
||||
const tempBase = inputBase.value;
|
||||
inputBase.value = outputBase.value;
|
||||
outputBase.value = tempValue;
|
||||
outputBase.value = tempBase;
|
||||
|
||||
const tempValue = inputValue.value;
|
||||
inputValue.value = outputValue.value;
|
||||
outputValue.value = tempValue;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user