Fix letter coloring for standard flags.

This commit is contained in:
Lena Schimmel 2019-07-22 22:27:29 +02:00
parent 7b0025dbfc
commit c24f28d7bf

View file

@ -63,9 +63,12 @@ window.queer.initPreviewLogo = function() {
}
window.queer.colorLetter = function(letter) {
$("#"+letter).attr("value", activeColor.substring(1));
sessionStorage.setItem(letter, activeColor.substring(1));
previewLogo.colorLetter(letter, activeColor);
flagName = $("#flagselect :selected").val();
if(flagName == "Eigene Farbkombination") {
$("#"+letter).attr("value", activeColor.substring(1));
sessionStorage.setItem(letter, activeColor.substring(1));
previewLogo.colorLetter(letter, activeColor);
}
}
window.queer.initArrow = function () {