Ensure images don't get stuck on opacity 0

This commit is contained in:
2018-04-29 18:06:36 +01:00
parent 2fbf3b552f
commit c93b9af4b1
3 changed files with 35 additions and 9 deletions

View File

@@ -9,7 +9,7 @@ const windy = {
export default function init() {
document.querySelectorAll('img').forEach((image) => {
const img = new Image(image);
img.fadeIn();
img.start();
windy.images.push(img);
});
windy.menu = new Menu({