re-fires the 'load' event, which ran the theme's start-up code (window.onload) twice and built the mobile menu twice. Run window.onload once only. */ (function () { try { var handler = null, ran = false; Object.defineProperty(window, 'onload', { configurable: true, get: function () { return handler; }, set: function (fn) { handler = (typeof fn === 'function') ? fn : null; } }); window.addEventListener('load', function (e) { if (ran || !handler) return; ran = true; handler.call(window, e); }); } catch (err) {} })();
Our most-loved picks for comfort & confidence