remove webfont loader to reduce initial load

This commit is contained in:
Koen Lageveen 2017-01-20 17:40:45 +01:00
parent 554875c037
commit e821832284
1 changed files with 0 additions and 8 deletions

View File

@ -105,9 +105,6 @@
<link href="//cloud.webtype.com/css/7e544c5e-55dc-4b41-a8d3-c13f7e0a13d3.css" rel="stylesheet" type="text/css" />
<link href='http://fonts.googleapis.com/css?family=Poppins:300,500' rel='stylesheet' type='text/css'>
<!-- Google/Typekit Web Font Loader: https://github.com/typekit/webfontloader -->
<script src="//ajax.googleapis.com/ajax/libs/webfont/1.5.6/webfont.js"></script>
<style type="text/css">
html {
@ -484,11 +481,6 @@ function updateGutters(cm) {
);
});
// configure the webfont loader
WebFont.load({
custom: { families: font_aliases }
});
var hash = window.location.hash.substring(1);
if(hash){
$("#select-font").val(hash);