diff --git a/v2/static/js/forex.js b/v2/static/js/forex.js index a4a5373..2f8f273 100644 --- a/v2/static/js/forex.js +++ b/v2/static/js/forex.js @@ -1,9 +1,7 @@ -document.addEventListener('DOMContentLoaded', () => { - const select = document.getElementById('forex'); - select.addEventListener('change', updatePrices); - // Trigger initial conversion (Firefox preserves selected option across refresh - updatePrices.call(select); -}) +const select = document.getElementById('forex'); +select.addEventListener('change', updatePrices); +// Trigger initial conversion (Firefox preserves selected option across refresh +updatePrices.call(select); /** * @this {HTMLSelectElement} diff --git a/v2/templates/yoga7x.html b/v2/templates/yoga7x.html index 20cfa02..378563a 100644 --- a/v2/templates/yoga7x.html +++ b/v2/templates/yoga7x.html @@ -1,7 +1,7 @@ {% extends "page.html" %} {% block head %} - +