Fix broken animation

This commit is contained in:
Lena Schimmel 2019-06-27 16:45:56 +02:00
parent 3dd5e37897
commit 58022e1036

View file

@ -8,8 +8,8 @@ var activeColor = "#000000";
var lines = 1;
window.queer = {};
window.queer.showflag = function (flagname) {
mainLogo.changeGradients(flags[flagname], true);
window.queer.showflag = function (flagName) {
mainLogo.changeGradients(flags.flagmap(2, flags.allFlags[flagName]), true);
}
window.queer.initFlagAnimation = function () {
@ -30,7 +30,7 @@ window.queer.initFlagAnimation = function () {
$("#identity").html("(" + flagName + ")").fadeIn(500);
});
mainLogo.changeGradients(flags.allFlags[flagName], true);
mainLogo.changeGradients(flags.flagmap(2, flags.allFlags[flagName]), true);
}
}