Skip to content

Commit

Permalink
[UPD] google fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Oct 25, 2024
1 parent a54fe2e commit 595032b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StoryMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ StoryMap.prototype.setStyleSheet = function (css) {
});
r.selectorText = selector.join(',');
newCSS += r.cssText + '\n';
} else if (/^@font-face/.test(r.cssText)) {
} else if (/^@font-face/.test(r.cssText) || /^@import url\([\'|\"]https:\/\/fonts.googleapis.com\/css2/.test(r.cssText)) {
newCSS += r.cssText + '\n';
}
}
Expand Down

0 comments on commit 595032b

Please sign in to comment.