Bug fixes
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/
|
||||
****************************************************************************/
|
||||
|
||||
export const onLoad = () => {
|
||||
const onLoad = () => {
|
||||
if (window.dayjs) dayjs.extend(window.dayjs_plugin_relativeTime);
|
||||
|
||||
// Indicate JS is loaded
|
||||
@@ -81,4 +81,6 @@ export const onLoad = () => {
|
||||
}, 1);
|
||||
});
|
||||
};
|
||||
|
||||
onLoad();
|
||||
// @license-end
|
||||
|
@@ -1274,7 +1274,7 @@ h6 a {
|
||||
max-width: 960px;
|
||||
}
|
||||
}
|
||||
ampaign/shazz-journals @media all and (max-width: 960px) {
|
||||
@media all and (max-width: 960px) {
|
||||
h1 {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
|
@@ -9,11 +9,7 @@
|
||||
<script type="text/javascript" src="/scripts/5-fontfaceobserver.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/6-classlist.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/7-dayjs.min.js"></script>
|
||||
<script type="module">
|
||||
// using module import to target ES6+ (95% global coverage in 2023)
|
||||
import { onLoad } from './scripts/scripts.js';
|
||||
onLoad?.();
|
||||
</script>
|
||||
<script type="module" src="/scripts/scripts.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
Reference in New Issue
Block a user