// @license magnet:?xt=urn:btih:5305d91886084f776adcf57509a648432709a7c7&dn=x11.txt /* * Ousía Website JS * * (c) Andreas Stöckel, 2015 * * This work is licensed under the X11 (MIT) license. * http://www.opensource.org/licenses/mit-license.php */ (function () { "use strict"; var header = document.querySelector("header"); window.addEventListener("scroll", function () { if (window.pageYOffset > 40) { header.className = "scrolled"; } else { header.className = ""; } }); })(); // @license-end