diff --git a/index.html b/index.html index 232064eb..ffa0b158 100644 --- a/index.html +++ b/index.html @@ -804,24 +804,21 @@ State Size - - 1 + Province Size - - 1 + Burg Size - - 1 + diff --git a/modules/ui/style.js b/modules/ui/style.js index 97b766e9..5f04ac17 100644 --- a/modules/ui/style.js +++ b/modules/ui/style.js @@ -625,20 +625,9 @@ styleArmiesSize.addEventListener("input", function() { }); }); -styleEmblemsStateSizeInput.addEventListener("input", function() { - styleEmblemsStateSizeOutput.value = this.value; - drawEmblems(); -}); - -styleEmblemsProvinceSizeInput.addEventListener("input", function() { - styleEmblemsProvinceSizeOutput.value = this.value; - drawEmblems(); -}); - -styleEmblemsBurgSizeInput.addEventListener("input", function() { - styleEmblemsBurgSizeOutput.value = this.value; - drawEmblems(); -}); +styleEmblemsStateSizeInput.addEventListener("input", drawEmblems); +styleEmblemsProvinceSizeInput.addEventListener("input", drawEmblems); +styleEmblemsBurgSizeInput.addEventListener("input", drawEmblems); // request a URL to image to be used as a texture function textureProvideURL() {