Skip to content

Commit d972036

Browse files
authored
Merge pull request DSpace#2184 from TexasDigitalLibrary/DS-2077
DS-2077: removes external Google font
2 parents d8f367c + dc6fa35 commit d972036

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

src/main.browser.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import 'reflect-metadata';
33
import 'core-js/es/reflect';
44

55
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
6-
import { load as loadWebFont } from 'webfontloader';
76

87
import { BrowserAppModule } from './modules/app/browser-app.module';
98

@@ -24,14 +23,6 @@ const bootstrap = () => platformBrowserDynamic()
2423
const hasTransferState = document.querySelector('script#dspace-angular-state') !== null;
2524

2625
const main = () => {
27-
// Load fonts async
28-
// https://github.com/typekit/webfontloader#configuration
29-
loadWebFont({
30-
google: {
31-
families: ['Droid Sans']
32-
}
33-
});
34-
3526
if (environment.production) {
3627
enableProdMode();
3728
}

0 commit comments

Comments
 (0)