document.addEventListener('DOMContentLoaded', function () { $(window).on('load', function () { $(function () { $(".popup-once").modal('show'); $(".btn").mouseup(function () { $(this).blur(); }) }); }); }); WebFontConfig = { google: { families: ['Open+Sans:800,700,600,400,300','Cinzel:400,700,900','Nanum+Myeongjo:700','Arapey'] } }; (function () { var wf = document.createElement('script'); wf.src = ('https:' == document.location.protocol ? 'https' : 'http') + '://ajax.googleapis.com/ajax/libs/webfont/1.5.18/webfont.js'; wf.type = 'text/javascript'; wf.async = 'true'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(wf, s); })(); /* function loadCSS(href, before, media, callback) { "use strict"; var ss = window.document.createElement("link"); var ref = before || window.document.getElementsByTagName("script")[0]; var sheets = window.document.styleSheets; ss.rel = "stylesheet"; ss.href = href; ss.media = "only x"; if (callback) { ss.onload = callback; } ref.parentNode.insertBefore(ss, ref); ss.onloadcssdefined = function (cb) { var defined; for (var i = 0; i < sheets.length; i++) { if (sheets[i].href && sheets[i].href === ss.href) { defined = true; } } if (defined) { cb(); } else { setTimeout(function () { ss.onloadcssdefined(cb); }); } }; ss.onloadcssdefined(function () { ss.media = media || "all"; }); return ss; } loadCSS('https://droitemp.blob.core.windows.net/content/css/non-critical.css'); */