Watch only the fields that still exist
This commit is contained in:
1 parent
f8eaebb9e3
commit
5bb5260199
1 file changed
+1
-1
@@ -538,7 +538,7 @@
|
|||||||
loadLots().catch(Skuld.showError);
|
loadLots().catch(Skuld.showError);
|
||||||
});
|
});
|
||||||
|
|
||||||
["leg_out_amount", "fee", "fee_currency", "market_id", "date"].forEach(function (name) {
|
["leg_out_amount", "fee", "market_id", "date"].forEach(function (name) {
|
||||||
document.querySelector('[name="' + name + '"]').addEventListener("change", function () {
|
document.querySelector('[name="' + name + '"]').addEventListener("change", function () {
|
||||||
if (!generated) {
|
if (!generated) {
|
||||||
loadLots().catch(Skuld.showError);
|
loadLots().catch(Skuld.showError);
|
||||||
|
|||||||
Reference in new issue
Block a user