diff --git a/samples/html2/index.html b/samples/html2/index.html index 4d24fc1a9d4..0fedba1c4a3 100644 --- a/samples/html2/index.html +++ b/samples/html2/index.html @@ -112,11 +112,6 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" }); } - - // load google web fonts - loadGoogleFontCss(); - - // Bootstrap Scrollspy $(this).scrollspy({ target: '#scrollingNav', offset: 18 }); @@ -158,21 +153,6 @@ h={};g()}};typeof define==="function"&&define.amd&&define("google-code-prettify" //Convert elements with "marked" class to markdown processMarked(); - - /** - * Load google fonts. - */ - function loadGoogleFontCss() { - WebFont.load({ - active: function() { - // Update scrollspy - $(window).scrollspy('refresh') - }, - google: { - families: ['Source Code Pro', 'Source Sans Pro:n4,n6,n7'] - } - }); - } });