Fix typo.

This commit is contained in:
XhmikosR 2019-11-13 15:58:05 +02:00
parent cfb890169e
commit 13c65c8602

View File

@ -61,10 +61,10 @@ function inline(html, styles, options) {
const document = new Dom(html, o);
const inlineStyles = document.getInlineStyles();
const extarnalStyles = document.getExternalStyles();
const externalStyles = document.getExternalStyles();
const missingStyles = extractCss(styles, ...inlineStyles);
const links = extarnalStyles.filter(link => {
const links = externalStyles.filter(link => {
// Only take stylesheets
const stylesheet = link.getAttribute('rel') === 'stylesheet';
// Filter ignored links