aboutsummaryrefslogtreecommitdiff
path: root/src/main/assets/scripts.js
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-12-10 21:05:02 +0300
committerGravatar Vitaly Takmazov2020-12-10 21:05:02 +0300
commit0121e2dd9093007315382aa505e563675a8d5112 (patch)
treec8e0206f9e3092d2dd31f711b030ca9aa1fc143a /src/main/assets/scripts.js
parentcd7c4be002881199b7ab45d92465c30813adbe15 (diff)
scripts: do not import modules twice
Diffstat (limited to 'src/main/assets/scripts.js')
-rw-r--r--src/main/assets/scripts.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/assets/scripts.js b/src/main/assets/scripts.js
index 8f6dd961..ef02dca8 100644
--- a/src/main/assets/scripts.js
+++ b/src/main/assets/scripts.js
@@ -2,6 +2,7 @@ require('element-closest/browser');
require('classlist.js');
require('url-polyfill');
require('formdata-polyfill');
+require('whatwg-fetch');
import { embedLinksToX, embedAll, format } from './embed';
import renderIcons from './icon';
import svg4everybody from 'svg4everybody';