1
0
mirror of https://github.com/locomotivemtl/locomotive-boilerplate.git synced 2026-01-15 00:55:08 +08:00

Change async stylesheet method, check stylesheet onload before init app

This commit is contained in:
Antoine Boulanger
2020-05-26 15:22:14 -04:00
parent a110cc7ae2
commit e910afc384
8 changed files with 25 additions and 16 deletions

View File

@@ -14,7 +14,7 @@
<link rel="icon" type="image/png" sizes="16x16" href="assets/images/favicons/favicon-16x16.png">
<link rel="mask-icon" href="assets/images/favicons/safari-pinned-tab.svg" color="#000000">
<link rel="stylesheet" href="assets/styles/main.css">
<link id="stylesheet" rel="stylesheet" href="assets/styles/main.css" media="print" onload="this.media='all'; this.onload=null; this.isLoaded=true">
</head>
<body data-module-load>
<div data-load-container>