parent
4efdcc3b14
commit
7882bbf98f
@ -1,5 +1,6 @@
|
||||
import loadPolyfills from './soapbox/load_polyfills';
|
||||
|
||||
// @ts-ignore
|
||||
require.context('./images/', true);
|
||||
|
||||
// Load stylesheet
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
export default function ready(loaded) {
|
||||
export default function ready(loaded: () => void): void {
|
||||
if (['interactive', 'complete'].includes(document.readyState)) {
|
||||
loaded();
|
||||
} else {
|
Loading…
Reference in new issue