diff --git a/assets/static/js/main-singlelayout.js b/assets/static/js/main-singlelayout.js index a38b51b..9a18070 100644 --- a/assets/static/js/main-singlelayout.js +++ b/assets/static/js/main-singlelayout.js @@ -36,6 +36,7 @@ https://github.com/spyder-ide/lektor-icon/blob/master/NOTICE.txt const setHeroHeight = function () { heroHeight(); + $(window).on("load", heroHeight); $(window).on("resize", heroHeight); };