mirror of
https://github.com/mbirth/tcl_update_db.git
synced 2024-11-09 23:06:45 +00:00
Move script tags to top, run after DOM Ready.
This commit is contained in:
parent
3e86408b90
commit
61706d8651
@ -1,3 +1,5 @@
|
||||
document.addEventListener 'DOMContentLoaded', (event) ->
|
||||
|
||||
window.mdc.autoInit()
|
||||
window.tabBar = new mdc.tabs.MDCTabBar document.querySelector '#tab-bar'
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
<link rel="stylesheet" href="node_modules/material-components-web/dist/material-components-web.css"/>
|
||||
<link rel="stylesheet" href="assets/material-icons.css"/>
|
||||
<link rel="stylesheet" href="assets/style.css"/>
|
||||
<script type="text/javascript" src="node_modules/material-components-web/dist/material-components-web.js"></script>
|
||||
<script type="text/javascript" src="assets/main.js"></script>
|
||||
</head>
|
||||
<body class="mdc-typography">
|
||||
<?php
|
||||
@ -90,7 +92,5 @@ foreach ($allVars as $family => $models) {
|
||||
}
|
||||
?>
|
||||
</main>
|
||||
<script type="text/javascript" src="node_modules/material-components-web/dist/material-components-web.js"></script>
|
||||
<script type="text/javascript" src="assets/main.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user