diff --git a/layout/common/scripts.jsx b/layout/common/scripts.jsx index 7dc733f..42fe538 100644 --- a/layout/common/scripts.jsx +++ b/layout/common/scripts.jsx @@ -38,7 +38,6 @@ module.exports = class extends Component { - ; } }; diff --git a/source/js/flying-pages.min.js b/source/js/flying-pages.min.js deleted file mode 100644 index 69284e0..0000000 --- a/source/js/flying-pages.min.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";function flyingPages(){var a=new Set,b=new Set,c=document.createElement("link"),d=c.relList&&c.relList.supports&&c.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype,e=navigator.connection&&(navigator.connection.saveData||(navigator.connection.effectiveType||"").includes("2g"));if(!e&&d){var f=function(a){return new Promise(function(b,c){var d=document.createElement("link");d.rel="prefetch",d.href=a,d.onload=b,d.onerror=c,document.head.appendChild(d)})},g=function(a){var b=setTimeout(function(){return p()},5e3);f(a)["catch"](function(){return p()})["finally"](function(){return clearTimeout(b)})},h=function(c){var d=!!(1